[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/autotype.texi
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/man/autotype.texi |
Date: |
Sun, 23 Jun 2002 17:45:33 -0400 |
Index: emacs/man/autotype.texi
diff -c emacs/man/autotype.texi:1.12 emacs/man/autotype.texi:1.13
*** emacs/man/autotype.texi:1.12 Wed Sep 12 17:00:18 2001
--- emacs/man/autotype.texi Sun Jun 23 17:45:33 2002
***************
*** 371,377 ****
the buffer. The main application for this function, as its name suggests,
is to have it be called automatically every time an empty, and only an
empty file is visited. This is accomplished by putting @code{(add-hook
! 'find-file-hooks 'auto-insert)} into your @file{~/.emacs} file
(@pxref{(emacs)Init File}).
@vindex auto-insert-alist
--- 371,377 ----
the buffer. The main application for this function, as its name suggests,
is to have it be called automatically every time an empty, and only an
empty file is visited. This is accomplished by putting @code{(add-hook
! 'find-file-hook 'auto-insert)} into your @file{~/.emacs} file
(@pxref{(emacs)Init File}).
@vindex auto-insert-alist
***************
*** 473,479 ****
An interesting application for this function is to have it be called
automatically every time a file is saved. This is accomplished by putting
! @code{(add-hook 'write-file-hooks 'copyright-update)} into your
@file{~/.emacs}
file (@pxref{(emacs)Init File}).
@vindex copyright-query
--- 473,479 ----
An interesting application for this function is to have it be called
automatically every time a file is saved. This is accomplished by putting
! @code{(add-hook 'write-file-functions 'copyright-update)} into your
@file{~/.emacs}
file (@pxref{(emacs)Init File}).
@vindex copyright-query
***************
*** 481,487 ****
copyright or whether to ask about it. When this is @code{nil} updating is
only done with @kbd{M-x copyright-update}. When this is @code{function}
you are queried whenever @code{copyright-update} is called as a function,
! such as in the @code{write-file-hooks} feature mentioned above. Otherwise
you are always queried.
--- 481,487 ----
copyright or whether to ask about it. When this is @code{nil} updating is
only done with @kbd{M-x copyright-update}. When this is @code{function}
you are queried whenever @code{copyright-update} is called as a function,
! such as in the @code{write-file-functions} feature mentioned above. Otherwise
you are always queried.
***************
*** 538,547 ****
@cindex timestamps
@findex time-stamp
! @vindex write-file-hooks
The @code{time-stamp} command can be used to update automatically a
template in a file with a new time stamp every time you save the file.
! Customize the hook @code{write-file-hooks} to add the function
@code{time-stamp} to arrange this.
@vindex time-stamp-active
--- 538,547 ----
@cindex timestamps
@findex time-stamp
! @vindex write-file-functions
The @code{time-stamp} command can be used to update automatically a
template in a file with a new time stamp every time you save the file.
! Customize the hook @code{write-file-functions} to add the function
@code{time-stamp} to arrange this.
@vindex time-stamp-active
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/man/autotype.texi,
Stefan Monnier <=