]> git.eshelyaron.com Git - emacs.git/commitdiff
(ido-mode): Add toggle notification.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 2 Aug 2008 21:50:11 +0000 (21:50 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 2 Aug 2008 21:50:11 +0000 (21:50 +0000)
lisp/ido.el

index e5091b83c0050c2f6d2bd34dafb7ada8c133f3f8..bed9096f8ab6b9e692c82fc17743eec5b1d69a18 100644 (file)
@@ -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)