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

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

bug#11977: 23.2; F5 and revert without confirmation


From: Christopher Schmidt
Subject: bug#11977: 23.2; F5 and revert without confirmation
Date: Thu, 19 Jul 2012 00:13:00 +0100 (BST)

Dmitry Gutov <address@hidden> writes:
[...]
> 2. (define-key global-map [f5] 'revert-buffer-no-confirm)
>
> is not that much shorter than
>
>   (define-key global-map [f5] (lambda () (interactive) (revert-buffer t t)))

C-h k <f5>, C-h b and friends won't display much helpful information in
this case.

I don't think that any key should be bound to revert-buffer without
confirmation.  It is too easy to hit the key by accident.

        Christopher





reply via email to

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