diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2008-08-02 21:50:11 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2008-08-02 21:50:11 +0000 |
commit | 7ff90407d00043aec3beadf2c211b79624eb71bb (patch) | |
tree | 68863a2b134b7f3ee250c959bd46aa90b012c046 /lisp/ido.el | |
parent | d56bb8c8d194f3133705142e00d8ea8354552458 (diff) | |
download | emacs-7ff90407d00043aec3beadf2c211b79624eb71bb.tar.gz |
(ido-mode): Add toggle notification.
Diffstat (limited to 'lisp/ido.el')
-rw-r--r-- | lisp/ido.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index e5091b83c00..bed9096f8ab 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -1506,7 +1506,9 @@ This function also adds a hook to the minibuffer." (if ido-minor-mode-map-entry (setcdr ido-minor-mode-map-entry map) (setq ido-minor-mode-map-entry (cons 'ido-mode map)) - (add-to-list 'minor-mode-map-alist ido-minor-mode-map-entry))))) + (add-to-list 'minor-mode-map-alist ido-minor-mode-map-entry)))) + + (message "Ido mode %s" (if ido-mode "enabled" "disabled"))) (defun ido-everywhere (arg) |