From 567241e9863c0a745b4179f12524ff25536bd850 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Fri, 23 May 2014 21:49:19 +0200 Subject: [PATCH] Revert "org-capture.el (org-capture-steal-local-variables): Don't steal `mark-active'" This reverts commit ee5a88cd01cccc7b12422aebe6269bfeb444d387. --- lisp/org-capture.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index d7c0a8ba6..11dae4e10 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -984,11 +984,10 @@ it. When it is a variable, retrieve the value. Return whatever we get." (find-file-noselect (expand-file-name file org-directory))))) (defun org-capture-steal-local-variables (buffer) - "Install Org-mode local variables of BUFFER in the capture target buffer. -Take care of not installing `mark-active', which should be nil." - (mapc (lambda (v) (ignore-errors (org-set-local (car v) (cdr v)))) - (org-remove-if (lambda(e) (eq (car e) 'mark-active)) - (buffer-local-variables buffer)))) + "Install Org-mode local variables of BUFFER." + (mapc (lambda (v) + (ignore-errors (org-set-local (car v) (cdr v)))) + (buffer-local-variables buffer))) (defun org-capture-place-template (&optional inhibit-wconf-store) "Insert the template at the target location, and display the buffer. -- 2.11.4.GIT