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:
commit
4bc21b135b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user