[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: flet is obsolete, but...
From: |
Drew Adams |
Subject: |
RE: flet is obsolete, but... |
Date: |
Thu, 11 Oct 2012 06:48:48 -0700 |
> (defun my/revert-buffer ()
> "Unconditionally revert current buffer."
> (interactive)
> (let ((revert-without-query t)) (revert-buffer)))
>
> but I don't understand why it does not work:
Others have explained why it does not work.
Here's another way:
(defun revert-buffer-no-confirm ()
"Revert buffer without confirmation."
(interactive) (revert-buffer t t))
(I bind it to `f5', in keeping with the MS Windows use of that key.)
- flet is obsolete, but..., Sebastien Vauban, 2012/10/10
- Re: flet is obsolete, but..., Jambunathan K, 2012/10/10
- Re: flet is obsolete, but..., Jambunathan K, 2012/10/10
- Re: flet is obsolete, but..., Barry Margolin, 2012/10/10
- Message not available
- Re: flet is obsolete, but..., Sebastien Vauban, 2012/10/11
- Re: flet is obsolete, but..., Tassilo Horn, 2012/10/11
- Re: flet is obsolete, but..., Jambunathan K, 2012/10/11
- RE: flet is obsolete, but...,
Drew Adams <=
- RE: flet is obsolete, but..., Ludwig, Mark, 2012/10/11
- `f5' for refreshing/reverting without confirmation [was: flet is obsolete, but...], Drew Adams, 2012/10/11