[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch to autorevert.el
From: |
bigfaceworm |
Subject: |
patch to autorevert.el |
Date: |
10 Dec 2004 17:22:11 -0800 |
User-agent: |
G2/0.2 |
This patch adds a new hook to be run whenever a buffer is reverted.
Original autorevert.el was distributed with Emacs 21.1
------------------------------------------------
130a131,135
> (defcustom auto-revert-buffer-reverted-hook nil
> "Functions to run when a buffer is reverted."
> :group 'auto-revert
> :type 'hook)
>
345c350,351
< (revert-buffer t t t)))
---
> (run-hooks 'auto-revert-buffer-reverted-hook)
> (revert-buffer t t t)))
- patch to autorevert.el,
bigfaceworm <=