diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-02 12:26:31 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-02 12:26:31 +0200 |
commit | 10f347a06286272c7dcfdeb47b3511b6f53adcbd (patch) | |
tree | d10135206258d68ce25f21face8532c7ead4de0e /doc/emacs/building.texi | |
parent | 2fba71cf1fadc9d681e6be250d152cc156bf6a00 (diff) | |
download | emacs-10f347a06286272c7dcfdeb47b3511b6f53adcbd.tar.gz emacs-10f347a06286272c7dcfdeb47b3511b6f53adcbd.tar.bz2 emacs-10f347a06286272c7dcfdeb47b3511b6f53adcbd.zip |
Add a command to recreate the *scratch* buffer
* doc/emacs/building.texi (Lisp Interaction): Mention it.
* lisp/simple.el (scratch-buffer): New command.
Diffstat (limited to 'doc/emacs/building.texi')
-rw-r--r-- | doc/emacs/building.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index 5bf4c8c7396..994ad460333 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi @@ -1742,6 +1742,10 @@ which is provided for evaluating Emacs Lisp expressions interactively. Its major mode is Lisp Interaction mode. You can also enable Lisp Interaction mode by typing @kbd{M-x lisp-interaction-mode}. +@findex scratch-buffer + If you kill the @file{*scratch*} buffer, you can recreate it with +the @kbd{M-x scratch-buffer} command. + @findex eval-print-last-sexp @kindex C-j @r{(Lisp Interaction mode)} In the @file{*scratch*} buffer, and other Lisp Interaction mode |