emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 2317c61: Fix last todo-mode change


From: Stephen Berman
Subject: [Emacs-diffs] emacs-25 2317c61: Fix last todo-mode change
Date: Thu, 16 Jun 2016 09:06:01 +0000 (UTC)

branch: emacs-25
commit 2317c61868044dc1fea58d9e81f35d354f24fd69
Author: Stephen Berman <address@hidden>
Commit: Stephen Berman <address@hidden>

    Fix last todo-mode change
    
    * lisp/calendar/todo-mode.el (todo-read-category): Return the
    keymap in order to use its defined key bindings.
---
 lisp/calendar/todo-mode.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index 7cfec13..aee101f 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]