[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 2c31ce1: Fix 'message' when there's active minibuffer on anothe
From: |
Eli Zaretskii |
Subject: |
emacs-27 2c31ce1: Fix 'message' when there's active minibuffer on another frame |
Date: |
Sun, 11 Oct 2020 10:37:41 -0400 (EDT) |
branch: emacs-27
commit 2c31ce18eaa4710e6ff1d73c82432f218ded7c45
Author: Gregory Heytings <ghe@sdf.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix 'message' when there's active minibuffer on another frame
* lisp/minibuffer.el (set-minibuffer-message): Don't reuse the
active minibuffer for displaying messages unless the active
minibuffer is on the same frame as the selected window.
Copyright-paperwork-exempt: yes
---
lisp/minibuffer.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index f6e2b23..10cfca8 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -784,7 +784,8 @@ whichever comes first.
Unlike `minibuffer-message', this function is called automatically
via `set-message-function'."
(when (and (not noninteractive)
- (window-live-p (active-minibuffer-window)))
+ (window-live-p (active-minibuffer-window))
+ (eq (window-frame) (window-frame (active-minibuffer-window))))
(with-current-buffer (window-buffer (active-minibuffer-window))
(setq message (if (string-match-p "\\` *\\[.+\\]\\'" message)
;; Make sure we can put-text-property.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 2c31ce1: Fix 'message' when there's active minibuffer on another frame,
Eli Zaretskii <=