[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105383: (ido-mode): Switch off the m
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105383: (ido-mode): Switch off the message if called non-interactively. |
Date: |
Tue, 02 Aug 2011 17:59:31 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105383
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Tue 2011-08-02 17:59:31 +0200
message:
(ido-mode): Switch off the message if called non-interactively.
modified:
lisp/ChangeLog
lisp/ido.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-08-02 15:57:35 +0000
+++ b/lisp/ChangeLog 2011-08-02 15:59:31 +0000
@@ -1,5 +1,8 @@
2011-08-02 Lars Magne Ingebrigtsen <address@hidden>
+ * ido.el (ido-mode): Switch off the message if called
+ non-interactively.
+
* mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
before 587, since it appears that that's more likely to work for
more people.
=== modified file 'lisp/ido.el'
--- a/lisp/ido.el 2011-05-23 17:57:17 +0000
+++ b/lisp/ido.el 2011-08-02 15:59:31 +0000
@@ -1557,7 +1557,8 @@
(setq ido-minor-mode-map-entry (cons 'ido-mode map))
(add-to-list 'minor-mode-map-alist ido-minor-mode-map-entry))))
- (message "Ido mode %s" (if ido-mode "enabled" "disabled")))
+ (when (called-interactively-p 'any)
+ (message "Ido mode %s" (if ido-mode "enabled" "disabled"))))
;;; IDO KEYMAP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105383: (ido-mode): Switch off the message if called non-interactively.,
Lars Magne Ingebrigtsen <=