help-gnu-emacs
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]