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

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

Re: how to make the scratch buffer "unkillable"?


From: V. L. Simpson
Subject: Re: how to make the scratch buffer "unkillable"?
Date: 22 Nov 2004 22:22:00 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

>>>>> "oliver" == oliver  <oliver_baumann@nospam.justemail.net> writes:

    >> 
    >> sometimes i accidentally kill or rename the
    >> scratch-buffer. how can i protect this?
    >> 
    >> is there a way to hook into kill-buffer and rename-buffer?
    >> 
    >> thanks, olli


GNU Emacs 21 on up will recreate the scratch buffer if you just
revisit that buffer name:  C-x b (or M-x switch-to-buffer) *scratch*

vls


reply via email to

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