mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 22:32:52 +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:
parent
ae6d203a4b
commit
2b3fa6ef3e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue