Make exporting a subtree also work without transient-mark-mode

This commit is contained in:
Carsten Dominik 2010-01-05 12:25:04 +01:00
parent 774964adba
commit 56610b4833
2 changed files with 4 additions and 1 deletions

View File

@ -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'.

View File

@ -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)