1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-01 08:17:34 +00:00

Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2019-01-12 11:40:33 +01:00
commit 4bc21b135b

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