On terminal frames ignore minibuffer frame parameter (Bug#24758)
authorMartin Rudalics <rudalics@gmx.at>
Sat, 22 Oct 2016 09:52:39 +0000 (11:52 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 22 Oct 2016 09:52:39 +0000 (11:52 +0200)
* src/frame.c (Fmake_terminal_frame): Don't complain when the
caller asks for a deviant minibuffer setting (Bug#24758).

src/frame.c

index a1c2199d044d586a836747f7f73c599038cc312a..f3a548cbce7ebc1dd5547af1eef02c8214cbea2e 100644 (file)
@@ -1067,6 +1067,10 @@ affects all frames on the same terminal device.  */)
                  (t->display_info.tty->name
                   ? build_string (t->display_info.tty->name)
                   : Qnil));
+  /* On terminal frames the `minibuffer' frame parameter is always
+     virtually t.  Avoid that a different value in parms causes
+     complaints, see Bug#24758.  */
+  store_in_alist (&parms, Qminibuffer, Qt);
   Fmodify_frame_parameters (frame, parms);
 
   /* Make the frame face alist be frame-specific, so that each