>> An error is signaled, but its not very pretty:
>>
>> (org-capture-fill-template  "%(eval blah)")
>>
>> Debugger entered--Lisp error: (void-function 
>> org-capture-expand-embedded-elisp)
>> (org-capture-expand-embedded-elisp 'mark)
>> (progn (switch-to-buffer-other-window (get-buffer-create "*Capture*")) 
>> (erase-buffer) (setq buffer-file-name nil) (setq mark-active nil) (insert 
>> template) (org-mode) (goto-char (point-min))
>> ....
>>
>> That is the current behaviour.
>
> That's not what I see. I see
> Debugger entered--Lisp error: (void-variable blah)
> (eval blah)
> (eval (eval blah) t)
> (org-eval (eval blah))
> (org-capture-expand-embedded-elisp)
> (org-capture-fill-template "%(eval blah)")
> (eval (org-capture-fill-template "%(eval blah)") nil)
>
> Pretty clear, IMHO.

Definitely interesting :). I copy-pasted from mine Emacs.

No idea what is at play there.

Reply via email to