diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2010-01-05 12:25:04 +0100 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-01-05 12:25:04 +0100 |
commit | 56610b4833b4a02b8451e8a4ba86c133f02d4520 (patch) | |
tree | b75993e204d8051c00a94a7ba8ab27fcc8613b19 | |
parent | 774964adbadc143313d5f862a398e49221a3a540 (diff) | |
download | org-mode-56610b4833b4a02b8451e8a4ba86c133f02d4520.tar.gz |
Make exporting a subtree also work without transient-mark-mode
-rwxr-xr-x | lisp/ChangeLog | 3 | ||||
-rw-r--r-- | lisp/org-exp.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73ac5ac..98d46e6 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2010-01-05 Carsten Dominik <carsten.dominik@gmail.com> + * org-exp.el (org-export): Make sure the mark is activated, also + when `transient-mark-mode' is off. + * org-agenda.el (org-agenda-search-view-always-boolean): New option. (org-agenda-search-view-search-words-only): Obsolete variable, is now an alias for `org-agenda-search-view-always-boolean'. diff --git a/lisp/org-exp.el b/lisp/org-exp.el index ba77a2e..5176b25 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -935,7 +935,7 @@ value of `org-export-run-in-background'." (set-process-sentinel p 'org-export-process-sentinel) (message "Background process \"%s\": started" p)) ;; background processing not requested, or not possible - (if subtree-p (outline-mark-subtree)) + (if subtree-p (progn (outline-mark-subtree) (activate-mark))) (call-interactively (nth 1 ass))))) (defun org-export-process-sentinel (process status) |