# HG changeset patch # User Glenn Morris # Date 1186558057 0 # Node ID f0a07da7dd455d40eb6c8eb7da133e7eada45805 # Parent 847fd0fda811e20dbe1f2f9b411f5df234fc02d2 Replace `iff' in doc-strings and comments. diff -r 847fd0fda811 -r f0a07da7dd45 lisp/gnus/gmm-utils.el --- a/lisp/gnus/gmm-utils.el Wed Aug 08 07:27:21 2007 +0000 +++ b/lisp/gnus/gmm-utils.el Wed Aug 08 07:27:37 2007 +0000 @@ -79,7 +79,7 @@ ;;;###autoload (defun gmm-widget-p (symbol) - "Non-nil iff SYMBOL is a widget." + "Non-nil if SYMBOL is a widget." (get symbol 'widget-type)) ;; Copy of the `nnmail-lazy' code from `nnmail.el': diff -r 847fd0fda811 -r f0a07da7dd45 lisp/gnus/gnus-async.el --- a/lisp/gnus/gnus-async.el Wed Aug 08 07:27:21 2007 +0000 +++ b/lisp/gnus/gnus-async.el Wed Aug 08 07:27:37 2007 +0000 @@ -320,7 +320,7 @@ (pop alist)))))) (defun gnus-async-prefetched-article-entry (group article) - "Return the entry for ARTICLE in GROUP iff it has been prefetched." + "Return the entry for ARTICLE in GROUP if it has been prefetched." (let ((entry (save-excursion (gnus-async-set-buffer) (assq (intern (format "%s-%d" group article) diff -r 847fd0fda811 -r f0a07da7dd45 lisp/gnus/gnus-msg.el --- a/lisp/gnus/gnus-msg.el Wed Aug 08 07:27:21 2007 +0000 +++ b/lisp/gnus/gnus-msg.el Wed Aug 08 07:27:37 2007 +0000 @@ -260,15 +260,15 @@ This is done because new users often reply by mistake when reading news. This can also be a function receiving the group name as the only -parameter which should return non-nil iff a confirmation is needed, or -a regexp, in which case a confirmation is asked for iff the group name +parameter, which should return non-nil if a confirmation is needed; or +a regexp, in which case a confirmation is asked for if the group name matches the regexp." :version "22.1" :group 'gnus-message :type '(choice (const :tag "No" nil) (const :tag "Yes" t) - (regexp :tag "Iff group matches regexp") - (function :tag "Iff function evaluates to non-nil"))) + (regexp :tag "If group matches regexp") + (function :tag "If function evaluates to non-nil"))) (defcustom gnus-confirm-treat-mail-like-news nil diff -r 847fd0fda811 -r f0a07da7dd45 lisp/gnus/gnus-score.el --- a/lisp/gnus/gnus-score.el Wed Aug 08 07:27:21 2007 +0000 +++ b/lisp/gnus/gnus-score.el Wed Aug 08 07:27:37 2007 +0000 @@ -381,7 +381,7 @@ (const :tag "ask" nil))) (defcustom gnus-score-default-fold nil - "Use case folding for new score file entries iff not nil." + "Non-nil means use case folding for new score file entries." :group 'gnus-score-default :type 'boolean) diff -r 847fd0fda811 -r f0a07da7dd45 lisp/gnus/gnus-util.el --- a/lisp/gnus/gnus-util.el Wed Aug 08 07:27:21 2007 +0000 +++ b/lisp/gnus/gnus-util.el Wed Aug 08 07:27:37 2007 +0000 @@ -1108,7 +1108,7 @@ `(setq ,alist (delq (,fun ,key ,alist) ,alist)))) (defun gnus-globalify-regexp (re) - "Return a regexp that matches a whole line, iff RE matches a part of it." + "Return a regexp that matches a whole line, if RE matches a part of it." (concat (unless (string-match "^\\^" re) "^.*") re (unless (string-match "\\$$" re) ".*$"))) diff -r 847fd0fda811 -r f0a07da7dd45 lisp/gnus/imap.el --- a/lisp/gnus/imap.el Wed Aug 08 07:27:21 2007 +0000 +++ b/lisp/gnus/imap.el Wed Aug 08 07:27:37 2007 +0000 @@ -1581,7 +1581,7 @@ (imap-mailbox-get-1 'search imap-current-mailbox))))) (defun imap-message-flag-permanent-p (flag &optional mailbox buffer) - "Return t iff FLAG can be permanently (between IMAP sessions) saved on articles, in MAILBOX on server in BUFFER." + "Return t if FLAG can be permanently (between IMAP sessions) saved on articles, in MAILBOX on server in BUFFER." (with-current-buffer (or buffer (current-buffer)) (or (member "\\*" (imap-mailbox-get 'permanentflags mailbox)) (member flag (imap-mailbox-get 'permanentflags mailbox))))) diff -r 847fd0fda811 -r f0a07da7dd45 lisp/gnus/mailcap.el --- a/lisp/gnus/mailcap.el Wed Aug 08 07:27:21 2007 +0000 +++ b/lisp/gnus/mailcap.el Wed Aug 08 07:27:37 2007 +0000 @@ -538,7 +538,7 @@ results))) (defun mailcap-mailcap-entry-passes-test (info) - "Return non-nil iff mailcap entry INFO passes its test clause. + "Return non-nil if mailcap entry INFO passes its test clause. Also return non-nil if no test clause is present." (let ((test (assq 'test info)) ; The test clause status) @@ -631,7 +631,7 @@ (defvar mailcap-viewer-test-cache nil) (defun mailcap-viewer-passes-test (viewer-info type-info) - "Return non-nil iff viewer specified by VIEWER-INFO passes its test clause. + "Return non-nil if viewer specified by VIEWER-INFO passes its test clause. Also return non-nil if it has no test clause. TYPE-INFO is an argument to supply to the test." (let* ((test-info (assq 'test viewer-info)) @@ -704,7 +704,7 @@ ;;; (defun mailcap-viewer-lessp (x y) - "Return t iff viewer X is more desirable than viewer Y." + "Return t if viewer X is more desirable than viewer Y." (let ((x-wild (string-match "[*?]" (or (cdr-safe (assq 'type x)) ""))) (y-wild (string-match "[*?]" (or (cdr-safe (assq 'type y)) ""))) (x-lisp (not (stringp (or (cdr-safe (assq 'viewer x)) "")))) diff -r 847fd0fda811 -r f0a07da7dd45 lisp/gnus/nnimap.el --- a/lisp/gnus/nnimap.el Wed Aug 08 07:27:21 2007 +0000 +++ b/lisp/gnus/nnimap.el Wed Aug 08 07:27:37 2007 +0000 @@ -1645,7 +1645,7 @@ result))) (defun nnimap-mark-permanent-p (mark &optional group) - "Return t iff MARK can be permanently (between IMAP sessions) saved on articles, in GROUP." + "Return t if MARK can be permanently (between IMAP sessions) saved on articles, in GROUP." (imap-message-flag-permanent-p (nnimap-mark-to-flag mark))) (when nnimap-debug