|
From: | Kevin Rodgers |
Subject: | Re: Emacs configuration |
Date: | Mon, 30 Sep 2002 11:02:52 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
arthur.chereau wrote:
- How is it possible to force emacs to confirm when killing the *scratch* buffer ?
(defun scratch-kill-buffer-query-function () (cond ((equal (buffer-name) "*scratch*") (yes-or-no-p "Do you really want to kill the *scratch* buffer? ")) (t))) (add-hook 'kill-buffer-query-function 'scratch-kill-buffer-query-function) -- <a href="mailto:<kevinr@ihs.com>">Kevin Rodgers</a>
[Prev in Thread] | Current Thread | [Next in Thread] |