diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-09-05 18:21:29 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-09-05 18:21:29 +0200 |
commit | 5b5f9a874c3d9f57f6a58bd0b8e67d13b45c88fb (patch) | |
tree | 5ee08f8ad48cdd9bf077a100052d394426334377 | |
parent | a4f5d35fccbc04d0621a7c1605dacd279a0e1d6f (diff) | |
parent | ab7973684361d1267c78147fe72a6c17f404280b (diff) | |
download | org-mode-5b5f9a874c3d9f57f6a58bd0b8e67d13b45c88fb.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org-table.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el index 04c577e..4608093 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -961,10 +961,7 @@ Optional argument NEW may specify text to replace the current field content." (progn (setq s (match-string 1) o (match-string 0) - l (max 1 - (- (org-string-width - (buffer-substring-no-properties - (match-end 0) (match-beginning 0))) 3)) + l (max 1 (- (org-string-width o) 3)) e (not (= (match-beginning 2) (match-end 2)))) (setq f (format (if num " %%%ds %s" " %%-%ds %s") l (if e "|" (setq org-table-may-need-update t) "")) |