Преглед изворни кода

Correctly format orgtbl line when there is a :lfmt argument.

* org-table.el (orgtbl-format-line): Fix bug when formatting
line.

TINYCHANGE
Rémi Vanicat пре 12 година
родитељ
комит
1f8822101b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -4643,7 +4643,7 @@ When FMT is nil, return the first argument from ARGS."
 				   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*)))