1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

(dabbrev-expand): Don't display messages in the

echo area if the minibuffer window is active.
This commit is contained in:
Gerd Moellmann 2000-05-29 16:17:48 +00:00
parent 4467eb94e5
commit fdad0f1455

View File

@ -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))