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:
Nicolas Goaziou 2017-10-29 09:15:01 +01:00
parent 99dbca3d4f
commit f474c7149b
No known key found for this signature in database
GPG Key ID: A834B9E080A93738
1 changed files with 1 additions and 1 deletions

View File

@ -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