emacs-devel
[Top][All Lists]
Advanced

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

Re: A wish, a plea


From: Lennart Borgman (gmail)
Subject: Re: A wish, a plea
Date: Thu, 21 Jun 2007 20:55:40 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666

Hacksaw wrote:
But my real wish is that *scratch* would just go away. IMHO, it's usefulness is limited. And the chances that something important gets lost because of a careless keystroke is too high.

Please help a poor writer?


No need to change Emacs. Just put something like this in your .emacs:

  (let ((b (get-buffer "*scratch*")))
    (when b
      (kill-buffer b)))

Happy writing, Hacksaw!




reply via email to

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