diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-01-12 11:36:40 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-01-12 11:36:40 +0100 |
commit | ae497f365ee0aaf5af57821a2faf4e19183970e4 (patch) | |
tree | cc3c3f0038629a4a401e652c4c6374f3fe5c2be4 | |
parent | 34e5dcfb06800802a5e06f13340d646b6d829f04 (diff) | |
download | org-mode-ae497f365ee0aaf5af57821a2faf4e19183970e4.tar.gz |
org-table: Also copy special star marker upon creating a row
* lisp/org-table.el (org-table-insert-row): Copy "*" character when in
first column, as it is considered as a special marker then.
-rw-r--r-- | lisp/org-table.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el index 9cea262..3368c6a 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -1604,7 +1604,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 |