summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-08-02 21:50:11 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-08-02 21:50:11 +0000
commit7ff90407d00043aec3beadf2c211b79624eb71bb (patch)
tree68863a2b134b7f3ee250c959bd46aa90b012c046 /lisp/ido.el
parentd56bb8c8d194f3133705142e00d8ea8354552458 (diff)
downloademacs-7ff90407d00043aec3beadf2c211b79624eb71bb.tar.gz
(ido-mode): Add toggle notification.
Diffstat (limited to 'lisp/ido.el')
-rw-r--r--lisp/ido.el4
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)