mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(dabbrev-expand): Don't display messages in the
echo area if the minibuffer window is active.
This commit is contained in:
parent
4467eb94e5
commit
fdad0f1455
1 changed files with 2 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue