emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] fix quoting in org-agenda-with-point-at-orig-entry (apparent


From: Rob Giardina
Subject: [O] [PATCH] fix quoting in org-agenda-with-point-at-orig-entry (apparently unused except in my CLOSED prop sorting code)
Date: Tue, 29 Nov 2011 10:17:04 -0500

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 0a98fbe..5a7614c 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1741,8 +1741,8 @@ If STRING is non-nil, the text property will be
fetched from position 0
 in that string.  If STRING is nil, it will be fetched from the beginning
 of the current line."
   (org-with-gensyms (marker)
-    `(let ((,marker (get-text-property (if string 0 (point-at-bol))
-                                      'org-hd-marker string)))
+    `(let ((,marker (get-text-property (if ,string 0 (point-at-bol))
+                                      'org-hd-marker ,string)))
        (with-current-buffer (marker-buffer ,marker)
         (save-excursion
           (goto-char ,marker)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]