[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I restart *scratch* buffer?
From: |
Amin Bandali |
Subject: |
Re: How can I restart *scratch* buffer? |
Date: |
Sun, 08 Sep 2019 08:56:55 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Hi,
李不显 <flypigonsky@gmail.com> writes:
> Marcin Borkowski <mbork@mbork.pl> 于2019年9月2日周一 下午11:30写道:
[...]
>> How about M-: (startup--get-buffer-create-scratch) RET?
[...]
>
>
> I tried to do this, but *backtrace* says:
>
> Debugger entered--Lisp error: (void-function
> startup-get-buffer-create-scratch)
> (startup-get-buffer-create-scratch)
> eval((startup-get-buffer-create-scratch) nil)
> elisp--eval-last-sexp(nil)
> eval-last-sexp(nil)
> funcall-interactively(eval-last-sexp nil)
> call-interactively(eval-last-sexp nil nil)
> command-execute(eval-last-sexp)
There’s a typo; notice that there needs to be two dashes between
“startup” and “get”.
You seem to have used:
startup-get-buffer-create-scratch
Instead, try using:
startup--get-buffer-create-scratch
Hope that helps.
Re: How can I restart *scratch* buffer?, Marcin Borkowski, 2019/09/02
Re: How can I restart *scratch* buffer?, 李不显, 2019/09/08
Re: How can I restart *scratch* buffer?, 李不显, 2019/09/08