From 248ee115ffaa86e7284a111bffc750174997faf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vanicat?= Date: Fri, 22 Mar 2013 09:22:51 +0100 Subject: [PATCH] Correctly format orgtbl line when there is a :lfmt argument. orgtbl-apply-fmt need its arguments not in a line but as direct argument, we need to call apply --- lisp/org-table.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-table.el b/lisp/org-table.el index 8da57b2..dec16c0 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -4595,7 +4595,7 @@ First element has index 0, or I0 if given." f))) line))) (push (if *orgtbl-lfmt* - (orgtbl-apply-fmt *orgtbl-lfmt* line) + (apply #'orgtbl-apply-fmt *orgtbl-lfmt* line) (concat (orgtbl-eval-str *orgtbl-lstart*) (mapconcat 'identity line *orgtbl-sep*) (orgtbl-eval-str *orgtbl-lend*))) -- 1.7.10.4