diff options
author | Bastien Guerry <bzg@altern.org> | 2013-03-03 13:41:20 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-03-03 13:41:20 +0100 |
commit | f48605c8783eee8d62dec4df038c3520a9a01f29 (patch) | |
tree | 84fec26c0550db5c05d96bc2ace915c19f33119f | |
parent | fac8191dafc087cde04678a67551c9dd8cc6abd8 (diff) | |
parent | f6883b8e264855bc521581898a0ee5c223b48eb8 (diff) | |
download | org-mode-f48605c8783eee8d62dec4df038c3520a9a01f29.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org-mobile.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 444cb94..0add9ef 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -1070,6 +1070,9 @@ be returned that indicates what went wrong." ((eq what 'addheading) (if (org-on-heading-p) ; if false we are in top-level of file (progn + ;; Workaround a `org-insert-heading-respect-content' bug + ;; which prevents correct insertion when point is invisible + (org-show-subtree) (end-of-line 1) (org-insert-heading-respect-content '(4) t) (org-demote)) |