org-table.el: Prevent an error from occurring
* lisp/org-table.el (org-table-justify-field-maybe): Fix bug. Reported-by: Lester Longley <lester@ieee.org> https://orgmode.org/list/CAA3095_oH2sH_a=nNeYEa=agZp7L2K8Vp2s-c7fN4M4Sro=stQ@mail.gmail.com
This commit is contained in:
parent
3008fb45dc
commit
114d509829
|
@ -4407,7 +4407,7 @@ Optional argument NEW may specify text to replace the current field content."
|
||||||
((not new)
|
((not new)
|
||||||
(concat (org-table--align-field field width align)
|
(concat (org-table--align-field field width align)
|
||||||
"|"))
|
"|"))
|
||||||
((<= (org-string-width new) width)
|
((and width (<= (org-string-width new) width))
|
||||||
(concat (org-table--align-field new width align)
|
(concat (org-table--align-field new width align)
|
||||||
"|"))
|
"|"))
|
||||||
(t
|
(t
|
||||||
|
|
Loading…
Reference in New Issue