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

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

TINYCHANGE
This commit is contained in:
Rémi Vanicat 2013-03-22 09:22:51 +01:00 committed by Bastien Guerry
parent 0625b53a07
commit 1f8822101b
1 changed files with 1 additions and 1 deletions

View File

@ -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*)))