summaryrefslogtreecommitdiff
path: root/lisp/dabbrev.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-05-29 16:17:48 +0000
committerGerd Moellmann <gerd@gnu.org>2000-05-29 16:17:48 +0000
commitfdad0f1455b4ebe60138192ab4edbfb826f91d7a (patch)
tree3d650ade3bdaea56a78774e0874a4d7ccd922107 /lisp/dabbrev.el
parent4467eb94e5fa405f097ffdbed43dc2f8c52621bb (diff)
downloademacs-fdad0f1455b4ebe60138192ab4edbfb826f91d7a.tar.gz
(dabbrev-expand): Don't display messages in the
echo area if the minibuffer window is active.
Diffstat (limited to 'lisp/dabbrev.el')
-rw-r--r--lisp/dabbrev.el3
1 files changed, 2 insertions, 1 deletions
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))