[gnus git] branch master updated: m0-13-14-gbd7fafc =1= Don't quote nil and t in doc strings

Katsumi Yamaoka <[email protected]> Fri, 22 May 2015 00:25:59 +0200
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  bd7fafc38e2adb66f9e72786064e1f08a95506b6 (commit)
      from  78eb88a87d3730f2965cb4fe9a8ff53cb0990f53 (commit)


- Log -----------------------------------------------------------------
commit bd7fafc38e2adb66f9e72786064e1f08a95506b6
Author: Paul Eggert <[email protected]>
Date:   Thu May 21 22:25:43 2015 +0000

    Don't quote nil and t in doc strings
    
    This is as per "Tips for Documentation Strings" in the elisp manual.
    For consistency, do the same in diagnostics and comments.

diff --git a/lisp/deuglify.el b/lisp/deuglify.el
index df54f74..b2a725b 100644
--- a/lisp/deuglify.el
+++ b/lisp/deuglify.el
@@ -78,7 +78,7 @@
 ;; `gnus-outlook-deuglify-unwrap-stop-chars'.  Setting this to ".?!"
 ;; inhibits unwrapping if the cited line ends with a full stop,
 ;; question mark or exclamation mark.  Note that this variable
-;; defaults to `nil', triggering a few false positives but generally
+;; defaults to nil, triggering a few false positives but generally
 ;; giving you better results.
 ;;
 ;; Unwrapping works on every level of citation.  Thus you will be able
diff --git a/lisp/gnus-cus.el b/lisp/gnus-cus.el
index 9271322..93b7a1b 100644
--- a/lisp/gnus-cus.el
+++ b/lisp/gnus-cus.el
@@ -272,7 +272,7 @@ DOC is a documentation string for the parameter.")
                (repeat (list (string :format "%v" :tag "File name"))))
        "Which score files to use when using score to select articles to fetch.
 
-    `nil'
+    nil
          All articles will be scored to zero (0).
 
     `file'
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 1d8ad8e..37a707e 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -4376,7 +4376,7 @@ Returns HEADER if it was entered in the DEPENDENCIES.  Returns nil otherwise."
      ;; The last case ignores an existing entry, except it adds any
      ;; additional Xrefs (in case the two articles came from different
      ;; servers.
-     ;; Also sets `header' to `nil' meaning that the `dependencies'
+     ;; Also sets `header' to nil meaning that the `dependencies'
      ;; table was *not* modified.
      (t
       (mail-header-set-xref
diff --git a/lisp/message.el b/lisp/message.el
index 85b917d..2bc8116 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -1167,7 +1167,7 @@ e.g. using `gnus-posting-styles':
 
 (defcustom message-cite-style nil
   "*The overall style to be used when yanking cited text.
-Value is either `nil' (no variable overrides) or a let-style list
+Value is either nil (no variable overrides) or a let-style list
 of pairs (VARIABLE VALUE) that will be bound in
 `message-yank-original' to do the quoting.
 
diff --git a/lisp/nndoc.el b/lisp/nndoc.el
index c62697b..70d803f 100644
--- a/lisp/nndoc.el
+++ b/lisp/nndoc.el
@@ -199,7 +199,7 @@ from the document.")
 ;; lines in the body.  For MIME dissections only, ARTICLE-INSERT [5] and
 ;; SUMMARY-INSERT [6] give headers to insert for full article or summary line
 ;; generation, respectively.  Other headers usually follow directly from the
-;; buffer.  Value `nil' means no insert.
+;; buffer.  Value nil means no insert.
 (defvoo nndoc-dissection-alist nil)
 (defvoo nndoc-prepare-body-function nil)
 (defvoo nndoc-generate-head-function nil)
diff --git a/lisp/nnmaildir.el b/lisp/nnmaildir.el
index 21fa5b3..da3d546 100644
--- a/lisp/nnmaildir.el
+++ b/lisp/nnmaildir.el
@@ -84,13 +84,13 @@ Some of the FLAGS correspond to Gnus marks.")
 
 (defsubst nnmaildir--mark-to-flag (mark)
   "Find the Maildir flag that corresponds to MARK (an atom).
-Return a character, or `nil' if not found.
+Return a character, or nil if not found.
 See `nnmaildir-flag-mark-mapping'."
   (car (rassq mark nnmaildir-flag-mark-mapping)))
 
 (defsubst nnmaildir--flag-to-mark (flag)
   "Find the Gnus mark that corresponds to FLAG (a character).
-Return an atom, or `nil' if not found.
+Return an atom, or nil if not found.
 See `nnmaildir-flag-mark-mapping'."
   (cdr (assq flag nnmaildir-flag-mark-mapping)))
 
diff --git a/lisp/rfc2047.el b/lisp/rfc2047.el
index b2520b2..ea558d7 100644
--- a/lisp/rfc2047.el
+++ b/lisp/rfc2047.el
@@ -1136,7 +1136,7 @@ other than `\"' and `\\' in quoted strings."
 	  ;; `decode-coding-string' in Emacs offers a third optional
 	  ;; arg NOCOPY to avoid consing a new string if the decoding
 	  ;; is "trivial".  Unfortunately it currently doesn't
-	  ;; consider anything else than a `nil' coding system
+	  ;; consider anything else than a nil coding system
 	  ;; trivial.
 	  ;; `rfc2047-decode-string' is called multiple times for each
 	  ;; article during summary buffer generation, and we really
diff --git a/lisp/uudecode.el b/lisp/uudecode.el
index 419aefb..c1e3439 100644
--- a/lisp/uudecode.el
+++ b/lisp/uudecode.el
@@ -102,7 +102,7 @@ used is specified by `uudecode-decoder-program'."
 	(let ((cdir default-directory)
 	      (default-process-coding-system
 		(if (featurep 'xemacs)
-		    ;; In XEmacs, `nil' is not a valid coding system.
+		    ;; In XEmacs, nil is not a valid coding system.
 		    '(binary . binary)
 		  nil)))
 	  (unwind-protect

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/deuglify.el  |    2 +-
 lisp/gnus-cus.el  |    2 +-
 lisp/gnus-sum.el  |    2 +-
 lisp/message.el   |    2 +-
 lisp/nndoc.el     |    2 +-
 lisp/nnmaildir.el |    4 ++--
 lisp/rfc2047.el   |    2 +-
 lisp/uudecode.el  |    2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project