changeset 29294:5784ff2ff5df

(dabbrev-expand): Don't display messages in the echo area if the minibuffer window is active.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 29 May 2000 16:17:48 +0000
parents d01408f0820d
children bd40b79a8fb9
files lisp/dabbrev.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dabbrev.el	Mon May 29 16:16:45 2000 +0000
+++ b/lisp/dabbrev.el	Mon May 29 16:17:48 2000 +0000
@@ -552,7 +552,8 @@
       (error "No%s dynamic expansion for `%s' found"
 	     (if old " further" "") abbrev))
      (t
-      (if (not (eq dabbrev--last-buffer dabbrev--last-buffer-found))
+      (if (not (or (eq dabbrev--last-buffer dabbrev--last-buffer-found)
+		   (minibuffer-window-active-p (selected-window))))
 	  (progn
 	    (message "Expansion found in '%s'"
 		     (buffer-name dabbrev--last-buffer))