diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2010-09-30 13:11:46 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-09-30 13:12:12 +0200 |
commit | 2b3fa6ef3e4422e3596bd388f7daecbbda4408df (patch) | |
tree | ce9493a68eceb4b47678c59f2a31d41e9010b217 | |
parent | ae6d203a4be3006cf9a48e3ed166fa85144fb53f (diff) | |
download | org-mode-2b3fa6ef3e4422e3596bd388f7daecbbda4408df.tar.gz |
Fix bug with capture template prompt history
* lisp/org-capture.el (org-capture-fill-template): Initialize history variable.
-rw-r--r-- | lisp/org-capture.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 44face1..6ce9cdd 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -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 |