aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii2022-12-16 16:46:37 +0200
committerEli Zaretskii2022-12-16 16:46:37 +0200
commit80f410d281c6892c6aab4ce9b0a5bf052c7d88da (patch)
treebab198ba6903dac1e2cb1079ad50645d182973cd /src/buffer.c
parentf04680e067b04ccc9c37e709172c42bf34977ec8 (diff)
downloademacs-80f410d281c6892c6aab4ce9b0a5bf052c7d88da.tar.gz
emacs-80f410d281c6892c6aab4ce9b0a5bf052c7d88da.zip
; Fix last changes in buffer.c
* src/buffer.c (other_buffer_safely): Ensure Lisp Interaction mode in *scratch*. (Bug#60096)
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 443f90ff894..38c3150f2c5 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1757,6 +1757,7 @@ other_buffer_safely (Lisp_Object buffer)
1757 { 1757 {
1758 AUTO_STRING (scratch, "*scratch*"); 1758 AUTO_STRING (scratch, "*scratch*");
1759 buf = Fget_buffer_create (scratch, Qnil); 1759 buf = Fget_buffer_create (scratch, Qnil);
1760 Fset_buffer_major_mode (buf);
1760 } 1761 }
1761 return buf; 1762 return buf;
1762} 1763}