Mercurial > emacs
comparison lispref/files.texi @ 53575:a679a0134e06
*** empty log message ***
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Tue, 13 Jan 2004 00:24:12 +0000 |
parents | 5bd5de5e98c2 |
children | 8659505a7f3d |
comparison
equal
deleted
inserted
replaced
53574:cd9b1c23ac8c | 53575:a679a0134e06 |
---|---|
414 @end defvar | 414 @end defvar |
415 | 415 |
416 @defopt before-save-hook | 416 @defopt before-save-hook |
417 This normal hook runs before a buffer is saved in its visited file, | 417 This normal hook runs before a buffer is saved in its visited file, |
418 regardless of whether that is done normally or by one of the hooks | 418 regardless of whether that is done normally or by one of the hooks |
419 described above. One use of this hook is for the Copyright package; | 419 described above. For instance, the @file{copyright.el} program uses |
420 it uses this hook to make sure the file has the current year in the | 420 this hook to make sure the file you are saving has the current year in |
421 copyright header. | 421 its copyright notice. |
422 @end defopt | 422 @end defopt |
423 | 423 |
424 @c Emacs 19 feature | 424 @c Emacs 19 feature |
425 @defopt after-save-hook | 425 @defopt after-save-hook |
426 This normal hook runs after a buffer has been saved in its visited file. | 426 This normal hook runs after a buffer has been saved in its visited file. |