summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2015-09-19 13:41:25 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-09-19 13:31:06 +0200
commit1ae9741eab7b25d4a226b4c1fac0d06f1bfbe9cc (patch)
treeb5f6fdda234406543b7e047a376ec50941d8cfb6
parent6d2ab4071960f8a7f20138291424b468722ab522 (diff)
downloadorg-mode-1ae9741eab7b25d4a226b4c1fac0d06f1bfbe9cc.tar.gz
org-agenda.el: Fix org-agenda-with-point-at-orig-entry
* lisp/org-agenda.el (org-agenda-with-point-at-orig-entry): Add missing comma in the backquote template.
-rw-r--r--lisp/org-agenda.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index b02b2f7..088f176 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -2006,7 +2006,7 @@ 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))
+ `(let ((,marker (get-text-property (if ,string 0 (point-at-bol))
'org-hd-marker ,string)))
(with-current-buffer (marker-buffer ,marker)
(save-excursion