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.
This commit is contained in:
Bastien Guerry 2014-04-16 18:28:26 +02:00
parent 132da2db35
commit 675e8b2b86
1 changed files with 1 additions and 1 deletions

View File

@ -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 "^\\*")