Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2019-01-12 11:40:33 +01:00
commit 4bc21b135b
1 changed files with 1 additions and 1 deletions

View File

@ -1678,7 +1678,7 @@ With prefix ARG, insert below the current line."
(let* ((line (buffer-substring (line-beginning-position) (line-end-position)))
(new (org-table-clean-line line)))
;; Fix the first field if necessary
(when (string-match "^[ \t]*| *[#$] *|" line)
(when (string-match "^[ \t]*| *[#*$] *|" line)
(setq new (replace-match (match-string 0 line) t t new)))
(beginning-of-line (if arg 2 1))
;; Buffer may not end of a newline character, so ensure