|
From: | Stefan Monnier |
Subject: | Re: Defcustom write-file-functions and write-contents-functions? |
Date: | 04 Jan 2004 18:33:45 -0500 |
User-agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> You convinced me, thanks for the feedback. How about this patch, > instead? > * files.el (before-save-hook): Add. > (basic-save-buffer): Use before-save-hook. Please don't. There are already plenty of hooks run at that place and the code is hairy enough as it is. > * emacs-lisp/copyright.el: Use before-save-hook instead of > write-file-functions. Better provide a copyright-auto-update-mode that will do the hook manipulation. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |