mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-29 11:02:01 +00:00
*** empty log message ***
This commit is contained in:
parent
151bdc833e
commit
7253d8e009
@ -141,7 +141,7 @@ These supercede the values given in default-frame-alist.")
|
||||
;;; Return some frame other than the current frame,
|
||||
;;; creating one if neccessary. Note that the minibuffer frame, if
|
||||
;;; separate, is not considered (see next-frame).
|
||||
(defun get-frame ()
|
||||
(defun get-other-frame ()
|
||||
(let ((s (if (equal (next-frame (selected-frame)) (selected-frame))
|
||||
(new-frame)
|
||||
(next-frame (selected-frame)))))
|
||||
|
11
src/xdisp.c
11
src/xdisp.c
@ -193,7 +193,12 @@ message (m, a1, a2, a3)
|
||||
else if (INTERACTIVE && FRAME_MESSAGE_BUF (selected_frame))
|
||||
{
|
||||
#ifdef MULTI_FRAME
|
||||
Lisp_Object minibuf_frame;
|
||||
|
||||
choose_minibuf_frame ();
|
||||
minibuf_frame = WINDOW_FRAME (XWINDOW (minibuf_window));
|
||||
if (FRAME_VISIBLE_P (selected_frame)
|
||||
&& ! FRAME_VISIBLE_P (XFRAME (minibuf_frame)))
|
||||
Fmake_frame_visible (WINDOW_FRAME (XWINDOW (minibuf_window)));
|
||||
#endif
|
||||
|
||||
@ -244,7 +249,12 @@ message1 (m)
|
||||
else if (INTERACTIVE && FRAME_MESSAGE_BUF (selected_frame))
|
||||
{
|
||||
#ifdef MULTI_FRAME
|
||||
Lisp_Object minibuf_frame;
|
||||
|
||||
choose_minibuf_frame ();
|
||||
minibuf_frame = WINDOW_FRAME (XWINDOW (minibuf_window));
|
||||
if (FRAME_VISIBLE_P (selected_frame)
|
||||
&& ! FRAME_VISIBLE_P (XFRAME (minibuf_frame)))
|
||||
Fmake_frame_visible (WINDOW_FRAME (XWINDOW (minibuf_window)));
|
||||
#endif
|
||||
|
||||
@ -1771,6 +1781,7 @@ display_mode_line (w)
|
||||
if (FRAME_IS_X (f)
|
||||
&& ! FRAME_MINIBUF_ONLY_P (f)
|
||||
&& w == XWINDOW (f->selected_window)
|
||||
&& XINT (Flength (Vframe_list)) > 1
|
||||
&& (NILP (Fstring_equal (XBUFFER (w->buffer)->name, f->name))))
|
||||
x_set_name (f, XBUFFER (w->buffer)->name, Qnil);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user