|
From: | Yuri Lensky |
Subject: | Re: [O] [Patch] Fix handling of variable capture location |
Date: | Fri, 19 May 2017 16:37:25 -0700 |
Hello,
Yuri Lensky <address@hidden> writes:
> The second call is indeed needed.
AFAICT, it isn't.
(cond ('foo) (t nil)) => 'foo
> This is the case fixed by the patch:
>
> (setq org-default-notes-file (expand-file-name "~/docs/notes.org"))
> (setq org-capture-templates '(("t" "Todo" entry (file+olp
> org-default-notes-file "Inbox") "* TODO %?\n%i")))
OK, I see. I introduced this regression in
88a3c2483ee47b342e9bb7d2c1645dce11179bf5.
I applied your patch with a slight change:
((and (symbolp file) (boundp file) (symbol-value file)) (symbol-value file))
=>
((and (symbolp file) (boundp file)) (symbol-value file))
Thank you.
Regards,
--
Nicolas Goaziou
[Prev in Thread] | Current Thread | [Next in Thread] |