emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 2895cb8: ; * lisp/time-stamp.el: Fix wording in some documentat


From: Stephen Gildea
Subject: emacs-28 2895cb8: ; * lisp/time-stamp.el: Fix wording in some documentation strings.
Date: Fri, 1 Oct 2021 11:57:09 -0400 (EDT)

branch: emacs-28
commit 2895cb8d4917e09856babdb66dfc51d154f4ba5e
Author: Stephen Gildea <stepheng+emacs@gildea.com>
Commit: Stephen Gildea <stepheng+emacs@gildea.com>

    ; * lisp/time-stamp.el: Fix wording in some documentation strings.
---
 lisp/time-stamp.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index 6637732..e1ea922 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -138,7 +138,7 @@ Its format is that of the ZONE argument of the 
`format-time-string' function."
 
 ;;;###autoload
 (defun time-stamp-zone-type-p (zone)
-  "Return whether or not ZONE is of the correct type for a timezone rule.
+  "Return non-nil if ZONE is of the correct type for a timezone rule.
 Valid ZONE values are described in the documentation of `format-time-string'."
   (or (memq zone '(nil t wall))
       (stringp zone)
@@ -313,7 +313,7 @@ this line to a local variables list near the end of the 
file:
 
 If the file has no time-stamp template, this function does nothing.
 
-You can set `time-stamp-pattern' in a files's local variables list
+You can set `time-stamp-pattern' in a file's local variables list
 to customize the information in the time stamp and where it is written.
 
 The time stamp is updated only if `time-stamp-active' is non-nil."
@@ -712,7 +712,7 @@ and all `time-stamp-format' compatibility."
 
 (defun time-stamp-do-number (format-char alt-form field-width time)
   "Handle compatible FORMAT-CHAR where only default width/padding will change.
-ALT-FORM is whether `#' specified.  FIELD-WIDTH is the string
+ALT-FORM is whether `#' was specified.  FIELD-WIDTH is the string
 width specification or \"\".  TIME is the time to convert.
 This is an internal helper for `time-stamp-string-preprocess'."
   (let ((format-string (concat "%" (char-to-string format-char))))



reply via email to

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