1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-11 08:30:45 -08:00

; Fix last changes in buffer.c

* src/buffer.c (other_buffer_safely): Ensure Lisp Interaction mode
in *scratch*.  (Bug#60096)
This commit is contained in:
Eli Zaretskii 2022-12-16 16:46:37 +02:00
parent f04680e067
commit 80f410d281

View file

@ -1757,6 +1757,7 @@ other_buffer_safely (Lisp_Object buffer)
{
AUTO_STRING (scratch, "*scratch*");
buf = Fget_buffer_create (scratch, Qnil);
Fset_buffer_major_mode (buf);
}
return buf;
}