diff options
| author | Gerd Moellmann | 2000-05-29 16:17:48 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-05-29 16:17:48 +0000 |
| commit | fdad0f1455b4ebe60138192ab4edbfb826f91d7a (patch) | |
| tree | 3d650ade3bdaea56a78774e0874a4d7ccd922107 | |
| parent | 4467eb94e5fa405f097ffdbed43dc2f8c52621bb (diff) | |
| download | emacs-fdad0f1455b4ebe60138192ab4edbfb826f91d7a.tar.gz emacs-fdad0f1455b4ebe60138192ab4edbfb826f91d7a.zip | |
(dabbrev-expand): Don't display messages in the
echo area if the minibuffer window is active.
| -rw-r--r-- | lisp/dabbrev.el | 3 |
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]." | |||
| 552 | (error "No%s dynamic expansion for `%s' found" | 552 | (error "No%s dynamic expansion for `%s' found" |
| 553 | (if old " further" "") abbrev)) | 553 | (if old " further" "") abbrev)) |
| 554 | (t | 554 | (t |
| 555 | (if (not (eq dabbrev--last-buffer dabbrev--last-buffer-found)) | 555 | (if (not (or (eq dabbrev--last-buffer dabbrev--last-buffer-found) |
| 556 | (minibuffer-window-active-p (selected-window)))) | ||
| 556 | (progn | 557 | (progn |
| 557 | (message "Expansion found in '%s'" | 558 | (message "Expansion found in '%s'" |
| 558 | (buffer-name dabbrev--last-buffer)) | 559 | (buffer-name dabbrev--last-buffer)) |