changeset 78482:80e300a489d6

Replace `iff' in doc-strings and comments.
author Glenn Morris <rgm@gnu.org>
date Wed, 08 Aug 2007 07:22:47 +0000
parents bc53aa750f3b
children ee4552a02131
files lisp/textmodes/artist.el lisp/textmodes/flyspell.el lisp/textmodes/ispell.el lisp/textmodes/nroff-mode.el lisp/textmodes/refill.el lisp/textmodes/reftex-global.el lisp/textmodes/sgml-mode.el lisp/textmodes/two-column.el
diffstat 8 files changed, 14 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/artist.el	Wed Aug 08 07:21:23 2007 +0000
+++ b/lisp/textmodes/artist.el	Wed Aug 08 07:22:47 2007 +0000
@@ -1768,7 +1768,7 @@
 ;; Macro that won't funcall the function if it is nil.
 ;;
 (defmacro artist-funcall (fn &rest args)
-  "Call function FN with ARGS iff FN is not nil."
+  "Call function FN with ARGS, if FN is not nil."
   (list 'if fn (cons 'funcall (cons fn args))))
 
 (defun artist-uniq (l)
--- a/lisp/textmodes/flyspell.el	Wed Aug 08 07:21:23 2007 +0000
+++ b/lisp/textmodes/flyspell.el	Wed Aug 08 07:22:47 2007 +0000
@@ -457,7 +457,8 @@
 This spawns a single Ispell process and checks each word.
 The default flyspell behavior is to highlight incorrect words.
 With no argument, this command toggles Flyspell mode.
-With a prefix argument ARG, turn Flyspell minor mode on iff ARG is positive.
+With a prefix argument ARG, turn Flyspell minor mode on if ARG is positive,
+otherwise turn it off.
 
 Bindings:
 \\[ispell-word]: correct words (using Ispell).
@@ -1621,7 +1622,7 @@
 ;;*    flyspell-overlay-p ...                                           */
 ;;*---------------------------------------------------------------------*/
 (defun flyspell-overlay-p (o)
-  "A predicate that return true iff O is an overlay used by flyspell."
+  "Return true if O is an overlay used by flyspell."
   (and (overlayp o) (overlay-get o 'flyspell-overlay)))
 
 ;;*---------------------------------------------------------------------*/
--- a/lisp/textmodes/ispell.el	Wed Aug 08 07:21:23 2007 +0000
+++ b/lisp/textmodes/ispell.el	Wed Aug 08 07:22:47 2007 +0000
@@ -3324,7 +3324,8 @@
 ;;;###autoload
 (defun ispell-minor-mode (&optional arg)
   "Toggle Ispell minor mode.
-With prefix arg, turn Ispell minor mode on iff arg is positive.
+With prefix argument ARG, turn Ispell minor mode on if ARG is positive,
+otherwise turn it off.
 
 In Ispell minor mode, pressing SPC or RET
 warns you if the previous word is incorrectly spelled.
--- a/lisp/textmodes/nroff-mode.el	Wed Aug 08 07:21:23 2007 +0000
+++ b/lisp/textmodes/nroff-mode.el	Wed Aug 08 07:22:47 2007 +0000
@@ -261,7 +261,7 @@
 `nroff-electric-newline' forces Emacs to check for an nroff request at the
 beginning of the line, and insert the matching closing request if necessary.
 This command toggles that mode (off->on, on->off), with an argument,
-turns it on iff arg is positive, otherwise off."
+turns it on if arg is positive, otherwise off."
   :lighter " Electric"
   (or (derived-mode-p 'nroff-mode) (error "Must be in nroff mode")))
 
--- a/lisp/textmodes/refill.el	Wed Aug 08 07:21:23 2007 +0000
+++ b/lisp/textmodes/refill.el	Wed Aug 08 07:22:47 2007 +0000
@@ -217,7 +217,7 @@
 ;;;###autoload
 (define-minor-mode refill-mode
   "Toggle Refill minor mode.
-With prefix arg, turn Refill mode on iff arg is positive.
+With prefix arg, turn Refill mode on if arg is positive, otherwise turn it off.
 
 When Refill mode is on, the current paragraph will be formatted when
 changes are made within it.  Self-inserting characters only cause
--- a/lisp/textmodes/reftex-global.el	Wed Aug 08 07:21:23 2007 +0000
+++ b/lisp/textmodes/reftex-global.el	Wed Aug 08 07:22:47 2007 +0000
@@ -431,7 +431,7 @@
 
 With no argument, this command toggles
 `reftex-isearch-minor-mode'.  With a prefix argument ARG, turn
-`reftex-isearch-minor-mode' on iff ARG is positive."
+`reftex-isearch-minor-mode' on if ARG is positive, otherwise turn it off."
   (interactive "P")
   (let ((old-reftex-isearch-minor-mode reftex-isearch-minor-mode))
     (setq reftex-isearch-minor-mode 
--- a/lisp/textmodes/sgml-mode.el	Wed Aug 08 07:21:23 2007 +0000
+++ b/lisp/textmodes/sgml-mode.el	Wed Aug 08 07:22:47 2007 +0000
@@ -757,7 +757,7 @@
 (defun sgml-skip-tag-forward (arg)
   "Skip to end of tag or matching closing tag if present.
 With prefix argument ARG, repeat this ARG times.
-Return t iff after a closing tag."
+Return t if after a closing tag."
   (interactive "p")
   ;; FIXME: Use sgml-get-context or something similar.
   ;; It currently might jump to an unrelated </P> if the <P>
--- a/lisp/textmodes/two-column.el	Wed Aug 08 07:21:23 2007 +0000
+++ b/lisp/textmodes/two-column.el	Wed Aug 08 07:22:47 2007 +0000
@@ -561,8 +561,10 @@
   (newline arg))
 
 (defun 2C-toggle-autoscroll (arg)
-  "Toggle autoscrolling, or set it iff prefix ARG is non-nil and positive.
-When autoscrolling is turned on, this also realigns the two buffers."
+  "Toggle autoscrolling.
+With prefix argument ARG, turn on autoscrolling if ARG is
+positive, otherwise turn it off.  When autoscrolling is turned
+on, this also realigns the two buffers."
   (interactive "P")
   ;(sit-for 0)
   (setq 2C-autoscroll-start (window-start))