diff options
| author | Kim F. Storm | 2005-06-14 15:32:41 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-06-14 15:32:41 +0000 |
| commit | 1939ac922fbae817e08ca325b6c56964b26cdc36 (patch) | |
| tree | 6253d0d079b7571bad82ba19d170b13163430d00 | |
| parent | 6de5b135fc3a7095cdf1afee034d71c883277055 (diff) | |
| download | emacs-1939ac922fbae817e08ca325b6c56964b26cdc36.tar.gz emacs-1939ac922fbae817e08ca325b6c56964b26cdc36.zip | |
(ido-mode): Make a new keymap every time we enable ido,
as the coverage buffer/file/both may change.
| -rw-r--r-- | lisp/ido.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index 012be3da37f..2d9313bb0ea 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -1320,7 +1320,8 @@ This function also adds a hook to the minibuffer." | |||
| 1320 | 1320 | ||
| 1321 | (add-hook 'kill-emacs-hook 'ido-kill-emacs-hook) | 1321 | (add-hook 'kill-emacs-hook 'ido-kill-emacs-hook) |
| 1322 | 1322 | ||
| 1323 | (unless ido-minor-mode-map-entry | 1323 | (if ido-minor-mode-map-entry |
| 1324 | (setcdr ido-minor-mode-map-entry (make-sparse-keymap)) | ||
| 1324 | (setq ido-minor-mode-map-entry (cons 'ido-mode (make-sparse-keymap))) | 1325 | (setq ido-minor-mode-map-entry (cons 'ido-mode (make-sparse-keymap))) |
| 1325 | (add-to-list 'minor-mode-map-alist ido-minor-mode-map-entry)) | 1326 | (add-to-list 'minor-mode-map-alist ido-minor-mode-map-entry)) |
| 1326 | 1327 | ||