From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Giardina Subject: [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 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVPRA-0002TX-8n for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 10:17:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVPR3-0005Yh-2K for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 10:17:36 -0500 Received: from mail-yx0-f169.google.com ([209.85.213.169]:53411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVPR2-0005YO-WD for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 10:17:29 -0500 Received: by yenl12 with SMTP id l12so2676048yen.0 for ; Tue, 29 Nov 2011 07:17:27 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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)