summaryrefslogtreecommitdiff
path: root/lisp/calendar/todo-mode.el
diff options
context:
space:
mode:
authorStephen Berman <stephen.berman@gmx.net>2016-06-16 11:05:36 +0200
committerStephen Berman <stephen.berman@gmx.net>2016-06-16 11:05:36 +0200
commit2317c61868044dc1fea58d9e81f35d354f24fd69 (patch)
treeb184f77e76d6935cf0b53a79323a38eb427c04d7 /lisp/calendar/todo-mode.el
parent5d4d8a3932f8867f79effeafa4c337b8e4208fe8 (diff)
downloademacs-2317c61868044dc1fea58d9e81f35d354f24fd69.tar.gz
Fix last todo-mode change
* lisp/calendar/todo-mode.el (todo-read-category): Return the keymap in order to use its defined key bindings.
Diffstat (limited to 'lisp/calendar/todo-mode.el')
-rw-r--r--lisp/calendar/todo-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index 7cfec137b04..aee101f7218 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -5753,7 +5753,8 @@ categories from `todo-category-completions-files'."
(let ((minibuffer-local-completion-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map minibuffer-local-completion-map)
- (define-key map " " nil))))
+ (define-key map " " nil)
+ map)))
(let* ((add (eq match-type 'add))
(archive (eq match-type 'archive))
(file0 (when (and file (> (length todo-files) 1))