0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-17 03:36:27 +00:00

Fix bug with capture template prompt history

* lisp/org-capture.el (org-capture-fill-template): Initialize history variable.
This commit is contained in:
Carsten Dominik 2010-09-30 13:11:46 +02:00
parent ae6d203a4b
commit 2b3fa6ef3e

View file

@ -1202,6 +1202,7 @@ The template may still contain \"%?\" for cursor positioning."
"org-capture-template-prompt-history::"
(or prompt "")))
completions (mapcar 'list completions)))
(unless (boundp histvar) (set histvar nil))
(cond
((member char '("G" "g"))
(let* ((org-last-tags-completion-table