emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Fix org-agenda-with-point-at-orig-entry
@ 2015-09-19  5:44 Eric Abrahamsen
  2015-09-19 11:33 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Abrahamsen @ 2015-09-19  5:44 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]

A comma is missing from this macro's backquote template. Here's a patch
to add it!

Eric


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org-agenda.el-Fix-org-agenda-with-point-at-orig-entr.patch --]
[-- Type: text/x-diff, Size: 1030 bytes --]

From 628b8ec90851710bb168164e2d4145acf4360d77 Mon Sep 17 00:00:00 2001
From: Eric Abrahamsen <eric@ericabrahamsen.net>
Date: Sat, 19 Sep 2015 13:41:25 +0800
Subject: [PATCH] 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.
---
 lisp/org-agenda.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 9f85cfa..95fb046 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
-- 
2.5.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix org-agenda-with-point-at-orig-entry
  2015-09-19  5:44 [PATCH] Fix org-agenda-with-point-at-orig-entry Eric Abrahamsen
@ 2015-09-19 11:33 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-09-19 11:33 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-orgmode

Hello,

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> A comma is missing from this macro's backquote template. Here's a patch
> to add it!

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-19 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-19  5:44 [PATCH] Fix org-agenda-with-point-at-orig-entry Eric Abrahamsen
2015-09-19 11:33 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).