Marc Auslander marca...@gmail.com writes:
After upgrade to squeeze, I have the following emacs curiosity.
I bind C-xC-c to:
(defun ctrlxctrlc () Careful exit from emacs
(interactive)
(if (y-or-n-p Do you really want to exit emacs? )
(save-buffers-kill-emacs)
(message )
After upgrade to squeeze, I have the following emacs curiosity.
I bind C-xC-c to:
(defun ctrlxctrlc () Careful exit from emacs
(interactive)
(if (y-or-n-p Do you really want to exit emacs? )
(save-buffers-kill-emacs)
(message )
))
to avoid accidentally closing emacs.
Under
On 2011-10-07 04:50 +0200, Marc Auslander wrote:
After upgrade to squeeze, I have the following emacs curiosity.
I bind C-xC-c to:
(defun ctrlxctrlc () Careful exit from emacs
(interactive)
(if (y-or-n-p Do you really want to exit emacs? )
(save-buffers-kill-emacs)
3 matches
Mail list logo