]> code.delx.au - gnu-emacs/blobdiff - lisp/calendar/todo-mode.el
Fix last todo-mode change
[gnu-emacs] / 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))