From: Stephen Berman Date: Thu, 16 Jun 2016 09:05:36 +0000 (+0200) Subject: Fix last todo-mode change X-Git-Tag: emacs-25.1-rc1~85 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2317c61;p=emacs.git Fix last todo-mode change * lisp/calendar/todo-mode.el (todo-read-category): Return the keymap in order to use its defined key bindings. --- 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))