[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: after-find-file-from-revert-buffer
From: |
Juanma Barranquero |
Subject: |
Re: after-find-file-from-revert-buffer |
Date: |
Wed, 6 Apr 2011 19:03:14 +0200 |
On Wed, Apr 6, 2011 at 18:51, Stefan Monnier <address@hidden> wrote:
> I was thinking of using a revert-buffer-function of the form
>
> (λ (&rest args)
> (let ((save-place-in-revert-buffer t))
> (apply revert-buffer-default args)))
>
>> (defun revert-buffer (...)
>> (let ((revert-buffer-in-progress t))
>> ...))
Global, you mean? I'm not sure it's worth the hassle.
> Yes, that's is better.
OK, I'll install that.
> I guess you could use a single let that covers both branches of the `if'.
IMO, it seems ugly to wrap the whole function just to add a variable.
But it's your call.
Juanma