forked from mirrors/org-mode
org-table: Fix compatibility with Emacs 24.3
* lisp/org-table.el (org-table-align): Call `split-string' with the expected number of arguments in Emacs 24.3. Reported-by: thomas <thomas@friendlyvillagers.com> <http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00430.html>
This commit is contained in:
parent
99dbca3d4f
commit
f474c7149b
|
@ -809,7 +809,7 @@ FIELD is a string. WIDTH is a number. ALIGN is either \"c\",
|
|||
(lambda (l)
|
||||
(and (not (string-match-p org-table-hline-regexp l))
|
||||
(org-split-string l "[ \t]*|[ \t]*")))
|
||||
(split-string (buffer-substring beg end) "\n" t "[ \t]")))
|
||||
(split-string (buffer-substring beg end) "\n" t)))
|
||||
;; Compute number of columns. If the table contains no
|
||||
;; field, create a default table and bail out.
|
||||
(columns-number
|
||||
|
|
Loading…
Reference in a new issue