]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last todo-mode change
authorStephen Berman <stephen.berman@gmx.net>
Thu, 16 Jun 2016 09:05:36 +0000 (11:05 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Thu, 16 Jun 2016 09:05:36 +0000 (11:05 +0200)
* lisp/calendar/todo-mode.el (todo-read-category): Return the
keymap in order to use its defined key bindings.

lisp/calendar/todo-mode.el

index 7cfec137b043e26b72188177da863bca5d31fd73..aee101f7218255e4deae9dbf7ecdcdfaf2302660 100644 (file)
@@ -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))