diff options
| author | Lars Ingebrigtsen | 2019-07-26 12:38:28 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-07-26 12:38:28 +0200 |
| commit | e2f2745eb8d6598f1aef0a4d6a2bcc3981e0f7d5 (patch) | |
| tree | 220e7c7d3c666af5d7df3695a70b2fa98537e001 | |
| parent | 55a221c071b2239958df511a9048caa61711a93e (diff) | |
| download | emacs-e2f2745eb8d6598f1aef0a4d6a2bcc3981e0f7d5.tar.gz emacs-e2f2745eb8d6598f1aef0a4d6a2bcc3981e0f7d5.zip | |
Doc clarification in time-stamp-pattern
* lisp/time-stamp.el (time-stamp-pattern): Try to document what
the examples mean (bug#26335).
| -rw-r--r-- | lisp/time-stamp.el | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el index f4236838520..ec6a45cd58b 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. | |||
| 223 | This part may be omitted to use the normal pattern. | 223 | This part may be omitted to use the normal pattern. |
| 224 | 224 | ||
| 225 | Examples: | 225 | Examples: |
| 226 | \"-10/\" | 226 | |
| 227 | \"-9/^Last modified: %%$\" | 227 | \"-10/\" (sets only `time-stamp-line-limit') |
| 228 | \"@set Time-stamp: %:b %:d, %:y$\" | 228 | |
| 229 | \"newcommand{\\\\\\\\timestamp}{%%}\" | 229 | \"-9/^Last modified: %%$\" (sets `time-stamp-line-limit', |
| 230 | `time-stamp-start', `time-stamp-end' and `time-stamp-format') | ||
| 231 | |||
| 232 | \"@set Time-stamp: %:b %:d, %:y$\" (sets `time-stamp-start', | ||
| 233 | `time-stamp-end' and `time-stamp-format') | ||
| 234 | |||
| 235 | \"newcommand{\\\\\\\\timestamp}{%%}\" (sets `time-stamp-start', | ||
| 236 | `time-stamp-end' and `time-stamp-format') | ||
| 230 | 237 | ||
| 231 | Do not change `time-stamp-pattern' `time-stamp-line-limit', | 238 | Do not change `time-stamp-pattern' `time-stamp-line-limit', |
| 232 | `time-stamp-start', or `time-stamp-end' for yourself or you will be | 239 | `time-stamp-start', or `time-stamp-end' for yourself or you will be |