changeset 97248:b2098130915f

(ido-mode): Add toggle notification.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 02 Aug 2008 21:50:11 +0000
parents 21130644562d
children 3ad68e78cd82
files lisp/ido.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ido.el	Sat Aug 02 21:50:00 2008 +0000
+++ b/lisp/ido.el	Sat Aug 02 21:50:11 2008 +0000
@@ -1506,7 +1506,9 @@
       (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)