comparison man/files.texi @ 35620:654bde0f95a6

*** empty log message ***
author Dave Love <fx@gnu.org>
date Fri, 26 Jan 2001 19:17:15 +0000
parents 91c357a883aa
children d1a5bb6d3811
comparison
equal deleted inserted replaced
35619:a670d2680870 35620:654bde0f95a6
766 @node Time Stamps 766 @node Time Stamps
767 @subsection Updating Time Stamps Automatically 767 @subsection Updating Time Stamps Automatically
768 @findex time-stamp 768 @findex time-stamp
769 @cindex time stamps 769 @cindex time stamps
770 @cindex modification dates 770 @cindex modification dates
771 @cindex locale, date format
771 772
772 You can arrange to have time stamp text in a file updated 773 You can arrange to have time stamp text in a file updated
773 automatically to reflect the modification time when you save the 774 automatically to reflect the modification time when you save the
774 file. To do this, include in the first eight lines a template like 775 file. To do this, include in the first eight lines a template like
775 @example 776 @example
781 Time-stamp: "" 782 Time-stamp: ""
782 @end example 783 @end example
783 @noindent 784 @noindent
784 and customize the value of the hook @code{write-file-hooks} to add 785 and customize the value of the hook @code{write-file-hooks} to add
785 @code{time-stamp}. Such a template is updated with the current time 786 @code{time-stamp}. Such a template is updated with the current time
786 and date when the file is written. 787 and date when the file is written. You can also use the command
788 @kbd{M-x time-stamp} to update the time stamp manually.
787 789
788 You can customize the form of the template and the time string used 790 You can customize the form of the template and the time string used
789 along with other parameters in the Custom group @code{time-stamp}. 791 along with other parameters in the Custom group @code{time-stamp}.
792 Note that non-numeric fields in the time stamp are printed according
793 to your locale setting.
790 794
791 @node Reverting 795 @node Reverting
792 @section Reverting a Buffer 796 @section Reverting a Buffer
793 @findex revert-buffer 797 @findex revert-buffer
794 @cindex drastic changes 798 @cindex drastic changes