emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master e2f2745: Doc clarification in time-stamp-pattern


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master e2f2745: Doc clarification in time-stamp-pattern
Date: Fri, 26 Jul 2019 06:41:17 -0400 (EDT)

branch: master
commit e2f2745eb8d6598f1aef0a4d6a2bcc3981e0f7d5
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Doc clarification in time-stamp-pattern
    
    * lisp/time-stamp.el (time-stamp-pattern): Try to document what
    the examples mean (bug#26335).
---
 lisp/time-stamp.el | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index f423683..ec6a45c 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -223,10 +223,17 @@ The fourth part is a regexp identifying the pattern 
following the time stamp.
 This part may be omitted to use the normal pattern.
 
 Examples:
-\"-10/\"
-\"-9/^Last modified: %%$\"
-\"@set Time-stamp: %:b %:d, %:y$\"
-\"newcommand{\\\\\\\\timestamp}{%%}\"
+
+\"-10/\" (sets only `time-stamp-line-limit')
+
+\"-9/^Last modified: %%$\" (sets `time-stamp-line-limit',
+`time-stamp-start', `time-stamp-end' and `time-stamp-format')
+
+\"@set Time-stamp: %:b %:d, %:y$\" (sets `time-stamp-start',
+`time-stamp-end' and `time-stamp-format')
+
+\"newcommand{\\\\\\\\timestamp}{%%}\" (sets `time-stamp-start',
+`time-stamp-end' and `time-stamp-format')
 
 Do not change `time-stamp-pattern' `time-stamp-line-limit',
 `time-stamp-start', or `time-stamp-end' for yourself or you will be



reply via email to

[Prev in Thread] Current Thread [Next in Thread]