From 7ff90407d00043aec3beadf2c211b79624eb71bb Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 2 Aug 2008 21:50:11 +0000 Subject: [PATCH] (ido-mode): Add toggle notification. --- lisp/ido.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.39.2