瀏覽代碼

Merge branch 'maint'

Nicolas Goaziou 10 年之前
父節點
當前提交
cc72db1fe6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-agenda.el

+ 1 - 1
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
 in that string.  If STRING is nil, it will be fetched from the beginning
 of the current line."
 of the current line."
   (org-with-gensyms (marker)
   (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)))
 				       'org-hd-marker ,string)))
        (with-current-buffer (marker-buffer ,marker)
        (with-current-buffer (marker-buffer ,marker)
 	 (save-excursion
 	 (save-excursion