From f9c93aaa4931b618b87ff981e2bea48a2157a14a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 21 Apr 2014 09:24:58 +0200 Subject: [PATCH] Tiny fix * lisp/org.el (org-sparse-tree): Tiny fix. --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index a45c2ad38..31f0433d8 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -13510,8 +13510,8 @@ D Show deadlines and scheduled items between a date range." (value (org-icompleting-read "Value: " (mapcar #'list (org-property-values kwd))))) (unless (string-match "\\`{.*}\\'" value) - (setq value (concat "\"" value "\"")))) - (org-match-sparse-tree arg (concat kwd "=" value))) + (setq value (concat "\"" value "\""))) + (org-match-sparse-tree arg (concat kwd "=" value)))) ((?r ?R ?/) (call-interactively #'org-occur)) (otherwise (user-error "No such sparse tree command \"%c\"" answer))))) -- 2.11.4.GIT