[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
local-after-save-hook?
From: |
Sam Steingold |
Subject: |
local-after-save-hook? |
Date: |
21 Jun 2002 16:06:34 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
There is a buffer-local hook `local-write-file-hooks' (which is called
before writing the file) but no `local-after-save-hook' (called after
the file is written). Why?
I can emulate this behavior:
(defun my-after-save-hook-function ()
do something useful
(remove-hook 'after-save-hook 'my-after-save-hook-function))
(add-hook 'local-write-file-hooks
(lambda () (add-hook 'after-save-hook 'my-after-save-hook-function)))
but I would prefer to have `local-after-save-hook'
do you mind if I add it?
--
Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
When we write programs that "learn", it turns out we do and they don't.
- local-after-save-hook?,
Sam Steingold <=