diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2011-09-14 07:48:49 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2011-09-14 07:48:49 +0200 |
commit | a3c3ff3fde3cb6f29e7b6e5eb5f629a4ac11e7b0 (patch) | |
tree | b112fce384ab40153d9352d7130d561988f7eb3b | |
parent | e887881e1302a9bba8fda296ec8b4723269b2a76 (diff) | |
download | org-mode-a3c3ff3fde3cb6f29e7b6e5eb5f629a4ac11e7b0.tar.gz |
Restore point when exporting a subtree
* lisp/org-exp.el (org-export): Restore point when exporting a subtree.
-rw-r--r-- | lisp/org-exp.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-exp.el b/lisp/org-exp.el index f795fbd..200f939 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -1012,6 +1012,7 @@ Pressing `1' will switch between these two options." (message "Export buffer: ")) ((not subtree-p) (setq subtree-p t) + (setq bpos (point)) (message "Export subtree: ")))) (when (eq r1 ?\ ) (let ((case-fold-search t) |