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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get rid of default lines in the *scratch* buffer


From: Robert Thorpe
Subject: Re: How to get rid of default lines in the *scratch* buffer
Date: Wed, 10 Dec 2014 02:54:21 +0000

chickenkinwing@gmail.com writes:

> By default, the *scratch* buffer contains 2 lines of
> "-- Press Enter here to update --".
>
> I find it a major annoyance for me. I have to remove them manually.
>
> Is there a way to automatically get rid of these lines (to make scratch 
> buffer empty) when the *scratch* buffer starts?

I don't have any lines saying "-- Press Enter here to update --" in my 
*scratch*.

Does this happen to you with emacs -Q ?

I think you have a package that's outputting text to the wrong buffer on
initialization.

To delete the normal lines in scratch do (delete-region (point-min)
(point-max)) in *scratch*.

BR,
Robert Thorpe



reply via email to

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