diff options
| -rw-r--r-- | lisp/calendar/todo-mode.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index f0d4bc5961b..7cfec137b04 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el | |||
| @@ -5751,8 +5751,9 @@ against categories in that file; otherwise complete against all | |||
| 5751 | categories from `todo-category-completions-files'." | 5751 | categories from `todo-category-completions-files'." |
| 5752 | ;; Allow SPC to insert spaces, for adding new category names. | 5752 | ;; Allow SPC to insert spaces, for adding new category names. |
| 5753 | (let ((minibuffer-local-completion-map | 5753 | (let ((minibuffer-local-completion-map |
| 5754 | (copy-keymap minibuffer-local-completion-map))) | 5754 | (let ((map (make-sparse-keymap))) |
| 5755 | (define-key minibuffer-local-completion-map " " 'self-insert-command) | 5755 | (set-keymap-parent map minibuffer-local-completion-map) |
| 5756 | (define-key map " " nil)))) | ||
| 5756 | (let* ((add (eq match-type 'add)) | 5757 | (let* ((add (eq match-type 'add)) |
| 5757 | (archive (eq match-type 'archive)) | 5758 | (archive (eq match-type 'archive)) |
| 5758 | (file0 (when (and file (> (length todo-files) 1)) | 5759 | (file0 (when (and file (> (length todo-files) 1)) |