From: Gerd Moellmann Date: Mon, 29 May 2000 16:17:48 +0000 (+0000) Subject: (dabbrev-expand): Don't display messages in the X-Git-Tag: emacs-pretest-21.0.90~3631 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fdad0f1455b4ebe60138192ab4edbfb826f91d7a;p=emacs.git (dabbrev-expand): Don't display messages in the echo area if the minibuffer window is active. --- diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 89f26507f6b..b14a97bb64b 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -552,7 +552,8 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]." (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))