From fdad0f1455b4ebe60138192ab4edbfb826f91d7a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 29 May 2000 16:17:48 +0000 Subject: [PATCH] (dabbrev-expand): Don't display messages in the echo area if the minibuffer window is active. --- lisp/dabbrev.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.5