diff options
author | Bastien Guerry <bzg@altern.org> | 2014-04-16 18:28:26 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-04-16 18:28:26 +0200 |
commit | 675e8b2b8600fada1b52b7aacf4a8d6001d520b2 (patch) | |
tree | 73ecbb3cbc579c68dd931c1935936d937fecb055 | |
parent | 132da2db35a2f1ca027152ec4212c3da646ec691 (diff) | |
download | org-mode-675e8b2b8600fada1b52b7aacf4a8d6001d520b2.tar.gz |
org.el (org-insert-heading): Fix code typo
* org.el (org-insert-heading): Fix code typo.
Thanks to Thorsten Jolitz for reporting this and to Nicolas Richard
for his comments.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 56bdb7e..d8c9aed 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7735,7 +7735,7 @@ This is important for non-interactive uses of the command." (when respect-content (org-end-of-subtree nil t) (skip-chars-backward " \r\n") - (and (not (looking-back "^\*+")) + (and (not (looking-back "^\\*+")) (looking-at "[ \t]+") (replace-match "")) (unless (eobp) (forward-char 1)) (when (looking-at "^\\*") |