Przeglądaj źródła

org-table: Fix alignment with long links

* lisp/org-table.el (org-table-align): Fix alignment with long links.
Nicolas Goaziou 7 lat temu
rodzic
commit
575d66625d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -824,7 +824,7 @@ When nil, simply write \"#ERROR\" in corrupted fields.")
              ;; Find fields that are wider than FMAX, and shorten them.
              (when fmax
                (dolist (x column)
-                 (when (> (string-width x) fmax)
+                 (when (> (org-string-width x) fmax)
                    (org-add-props x nil
                      'help-echo
                      (concat