[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

35. Hooks Invoked After Saving a File

Set up a list of file-name matching regular expressions associated with shell commands or lisp forms to run after saving the file.

This is good for things like running newaliases(1) on `/etc/aliases', xrdb(1) on `~/.Xresources', installing a new `~/.crontab', as well as for sending signals to daemons whose configuration files you've just finished editing.

It is much safer and more powerful than using exec statements in "Local Variables" sections, and can safely be used by root for system administration tasks. The shell command can run about anything you can think of.

See variable After-save-alist for more information.

[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by XEmacs Webmaster on October, 2 2007 using texi2html