From ae497f365ee0aaf5af57821a2faf4e19183970e4 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 12 Jan 2019 11:36:40 +0100 Subject: [PATCH] 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. --- lisp/org-table.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-table.el b/lisp/org-table.el index 9cea262b4..3368c6a8f 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 -- 2.11.4.GIT