From: Stephen Gildea Date: Tue, 13 May 2025 22:58:07 +0000 (-0700) Subject: ; Time Stamps doc: Clearer customize recipe X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=684a3825a4a369f65e8cab0b3e54205910400d31;p=emacs.git ; Time Stamps doc: Clearer customize recipe * doc/emacs/files.texi (Time Stamps): Reorder the customize sentence so that the key words come in the order you would use them. (cherry picked from commit f0ac271da385a81a3f537f48a67d59d0057f921e) --- diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 1db26879247..22cc5ffa419 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -1033,11 +1033,11 @@ After the first time stamp, the line might look like this: Time-stamp: <1993-07-06 11:05:14 terryg> @end example -Second, configure Emacs to run @code{time-stamp} any time it saves a +Second, configure your Emacs to run @code{time-stamp} whenever it saves a file, by adding @code{time-stamp} to @code{before-save-hook} (@pxref{Hooks}). -You can either customize the option @code{before-save-hook} -(with @kbd{M-x customize-option}, @pxref{Specific Customization}), +You can either use @kbd{M-x customize-option} (@pxref{Specific +Customization}) to customize the option @code{before-save-hook}, or you can edit your init file adding this line: @example