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: 李不显
Subject: Re: How can I restart *scratch* buffer?
Date: Mon, 9 Sep 2019 04:32:06 +0800

Amin Bandali <address@hidden> 于2019年9月8日周日 下午8:57写道:

> Hi,
>
> 李不显 <address@hidden> writes:
>
> > Marcin Borkowski <address@hidden> 于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.
>

I was careless before. I clearly saw it, but I forgot it when I typed it. :)

Thank you for your help!


reply via email to

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