]> git.eshelyaron.com Git - emacs.git/commitdiff
(dabbrev-expand): Don't display messages in the
authorGerd Moellmann <gerd@gnu.org>
Mon, 29 May 2000 16:17:48 +0000 (16:17 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 29 May 2000 16:17:48 +0000 (16:17 +0000)
echo area if the minibuffer window is active.

lisp/dabbrev.el

index 89f26507f6bbf3318e8a538f89655ccd16416169..b14a97bb64bc0d74422b5b884c79731b376f65c6 100644 (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))