diff options
| author | Eli Zaretskii | 2022-12-16 16:46:37 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-12-16 16:46:37 +0200 |
| commit | 80f410d281c6892c6aab4ce9b0a5bf052c7d88da (patch) | |
| tree | bab198ba6903dac1e2cb1079ad50645d182973cd /src/buffer.c | |
| parent | f04680e067b04ccc9c37e709172c42bf34977ec8 (diff) | |
| download | emacs-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.c | 1 |
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 | } |