0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 17:32:51 +00:00

Merge branch 'maint'

This commit is contained in:
Bastien Guerry 2014-03-17 01:42:42 +01:00
commit 5289825cb2

View file

@ -7714,7 +7714,8 @@ 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 (looking-at "[ \t]+") (replace-match ""))
(and (not (looking-back "^\*+"))
(looking-at "[ \t]+") (replace-match ""))
(unless (eobp) (forward-char 1))
(when (looking-at "^\\*")
(unless (bobp) (backward-char 1))