Browse Source

Merge branch 'maint'

Bastien 4 years ago
parent
commit
b2f54f9f8e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -4460,7 +4460,7 @@ Optional argument NEW may specify text to replace the current field content."
 			  ((not new)
 			   (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)
 				   "|"))
 			  (t