Commit d136f184 authored by Glenn Morris's avatar Glenn Morris
Browse files

Doc fixes

* doc/misc/autotype.texi (Skeleton Language):
* doc/misc/message.texi (Header Commands):
* lisp/allout-widgets.el (allout-widgets-tally)
(allout-decorate-item-guides):
* lisp/menu-bar.el (menu-bar-positive-p):
* lisp/minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
* lisp/cedet/ede.el (ede-project-directories, ede-check-project-directory):
* lisp/cedet/semantic/ia-sb.el (semantic-ia-sb-show-doc):
* lisp/cedet/semantic/tag.el (semantic-tag-in-buffer-p):
* lisp/cedet/semantic/bovine/c.el (semantic-tag-abstract-p):
* lisp/gnus/gnus-registry.el (gnus-registry-install-p): Doc fix.
* lisp/progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
* lisp/progmodes/js.el (js--inside-param-list-p)
(js--inside-dojo-class-list-p, js--forward-destructuring-spec):
* lisp/progmodes/prolog.el (region-exists-p):
* lisp/progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
* lisp/textmodes/reftex-parse.el (reftex-using-biblatex-p):
* lisp/url/url-parse.el (url-generic-parse-url):
* src/floatfns.c (Fisnan):
* src/profiler.c (Fprofiler_cpu_running_p):
Doc fixes (replace `iff').

Fixes: debbugs:17309
parent 969aabf2
2014-05-01 Glenn Morris <rgm@gnu.org>
* autotype.texi (Skeleton Language):
* message.texi (Header Commands): Replace `iff'.
2014-04-22 Bastien Guerry <bzg@gnu.org>
* org.texi (Installation): Be more clear on why installing Org
......
......@@ -241,10 +241,10 @@ put at these places. Point is left at first @code{_} where nothing is wrapped.
Indent line according to major mode. When following element is @code{_}, and
there is a interregion that will be wrapped here, indent that interregion.
@item @code{&}
Logical and. Iff preceding element moved point, i.e., usually inserted
Logical and. If preceding element moved point, i.e., usually inserted
something, do following element.
@item @code{|}
Logical xor. Iff preceding element didn't move point, i.e., usually inserted
Logical xor. If preceding element didn't move point, i.e., usually inserted
nothing, do following element.
@item @code{-@var{number}}
Delete preceding number characters. Depends on value of
......
......@@ -742,9 +742,8 @@ by the @code{message-cross-post-note-function} variable.
@item C-c C-f t
@kindex C-c C-f t
@findex message-reduce-to-to-cc
Replace contents of @samp{To} header with contents of @samp{Cc} or
@samp{Bcc} header. (Iff @samp{Cc} header is not present, @samp{Bcc}
header will be used instead.)
Replace contents of @samp{To} header with contents of @samp{Cc}
header (or the @samp{Bcc} header, if there is no @samp{Cc} header).
@item C-c C-f w
@kindex C-c C-f w
......
......@@ -611,7 +611,7 @@ Emacs Lisp. It is an LALR parser suitable for complex languages.
@c LocalWords: deffn deffnx defun defvar destructor's dfn diff dir
@c LocalWords: doc docstring EDE EIEIO elisp emacsman emph enum
@c LocalWords: eq Exp EXPANDFULL expression fn foo func funcall
@c LocalWords: ia ids iff ifinfo imenu imenus init int isearch itemx java kbd
@c LocalWords: ia ids ifinfo imenu imenus init int isearch itemx java kbd
@c LocalWords: keymap keywordtable lang languagemode lexer lexing Ludlam
@c LocalWords: menubar metaparent metaparents min minibuffer Misc mode's
@c LocalWords: multitable NAvigaTOR noindent nomedian nonterm noselect
......
2014-05-01 Glenn Morris <rgm@gnu.org>
* allout-widgets.el (allout-widgets-tally)
(allout-decorate-item-guides):
* menu-bar.el (menu-bar-positive-p):
* minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
* progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
* progmodes/js.el (js--inside-param-list-p)
(js--inside-dojo-class-list-p, js--forward-destructuring-spec):
* progmodes/prolog.el (region-exists-p):
* progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
* textmodes/reftex-parse.el (reftex-using-biblatex-p):
Doc fixes (replace `iff').
2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
* mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
......
......@@ -266,7 +266,7 @@ decreases as obsolete widgets are garbage collected."
(defvar allout-widgets-tally nil
"Hash-table of existing allout widgets, for debugging.
Table is maintained iff `allout-widgets-maintain-tally' is non-nil.
Table is maintained only if `allout-widgets-maintain-tally' is non-nil.
The table contents will be out of sync if any widgets are created
or deleted while this variable is nil.")
......@@ -1852,7 +1852,7 @@ In their absence, the current guide column flags are used.
Optional PARENT-WIDGET is the widget for the item's parent item.
Optional HAS-SUCCESSOR is true iff the item is followed by a sibling.
Optional HAS-SUCCESSOR is true if the item is followed by a sibling.
We also hide the header-prefix string.
......
2014-05-01 Glenn Morris <rgm@gnu.org>
* ede.el (ede-project-directories, ede-check-project-directory):
* semantic/ia-sb.el (semantic-ia-sb-show-doc):
* semantic/tag.el (semantic-tag-in-buffer-p):
* semantic/bovine/c.el (semantic-tag-abstract-p):
Doc fixes (replace `iff').
2014-04-01 Glenn Morris <rgm@gnu.org>
* ede/emacs.el (ede-emacs-version): Update AC_INIT regexp. (Bug#17160)
......
......@@ -99,7 +99,7 @@ target willing to take the file. 'never means never perform the check."
If the value is t, EDE may search in any directory.
If the value is a function, EDE calls that function with one
argument, the directory name; the function should return t iff
argument, the directory name; the function should return t if
EDE should look for project files in the directory.
Otherwise, the value should be a list of fully-expanded directory
......@@ -705,7 +705,7 @@ Otherwise, create a new project for DIR."
"Check if DIR should be in `ede-project-directories'.
If it is not, try asking the user if it should be added; if so,
add it and save `ede-project-directories' via Customize.
Return nil iff DIR should not be in `ede-project-directories'."
Return nil if DIR should not be in `ede-project-directories'."
(setq dir (directory-file-name (expand-file-name dir))) ; strip trailing /
(or (eq ede-project-directories t)
(and (functionp ede-project-directories)
......
......@@ -1594,7 +1594,7 @@ Optional PARENT and COLOR as specified with
"Return non-nil if TAG is considered abstract.
PARENT is tag's parent.
In C, a method is abstract if it is `virtual', which is already
handled. A class is abstract iff its destructor is virtual."
handled. A class is abstract only if its destructor is virtual."
(cond
((eq (semantic-tag-class tag) 'type)
(require 'semantic/find)
......
;;; semantic/ia-sb.el --- Speedbar analysis display interactor
;;; Copyright (C) 2002-2004, 2006, 2008-2014 Free Software Foundation,
;;; Inc.
;;; Copyright (C) 2002-2004, 2006, 2008-2014 Free Software Foundation, Inc.
;; Author: Eric M. Ludlam <zappo@gnu.org>
;; Keywords: syntax
......@@ -139,7 +138,7 @@ DIRECTORY is the current directory, which is ignored, and ZERO is 0."
)))
(defmethod semantic-ia-sb-show-doc ((context semantic-analyze-context))
"Show documentation about CONTEXT iff CONTEXT points at a complete symbol."
"Show documentation about CONTEXT if CONTEXT points at a complete symbol."
(let ((sym (car (reverse (oref context prefix))))
(doc nil))
(when (semantic-tag-p sym)
......
......@@ -172,7 +172,7 @@ That function is for internal use only."
(semantic--tag-set-overlay tag (vector start end)))))
(defun semantic-tag-in-buffer-p (tag)
"Return the buffer TAG resides in IFF tag is already in a buffer.
"Return the buffer TAG resides in, if tag is already in a buffer.
If a tag is not in a buffer, return nil."
(let ((o (semantic-tag-overlay tag)))
;; TAG is currently linked to a buffer, return it.
......
2014-05-01 Glenn Morris <rgm@gnu.org>
* gnus-registry.el (gnus-registry-install-p): Doc fix.
2014-03-07 Lars Ingebrigtsen <larsi@gnus.org>
* nnimap.el (nnimap-request-accept-article): Make respooling to nnimap
......
......@@ -1125,9 +1125,9 @@ only the last one's marks are returned."
(add-hook 'gnus-registry-unload-hook 'gnus-registry-unload-hook)
(defun gnus-registry-install-p ()
"If the registry is not already enabled, and `gnus-registry-install' is t,
the registry is enabled. If `gnus-registry-install' is `ask',
the user is asked first. Returns non-nil iff the registry is enabled."
"Return non-nil if the registry is enabled (and maybe enable it first).
If the registry is not already enabled, then if `gnus-registry-install'
is `ask', ask the user; or if `gnus-registry-install' is non-nil, enable it."
(interactive)
(unless gnus-registry-enabled
(when (if (eq gnus-registry-install 'ask)
......
......@@ -922,7 +922,7 @@ by \"Save Options\" in Custom buffers.")
(selected-frame)))
(defun menu-bar-positive-p (val)
"Return non-nil iff VAL is a positive number."
"Return non-nil if VAL is a positive number."
(and (numberp val)
(> val 0)))
......
......@@ -2772,7 +2772,7 @@ expression (not containing character ranges like `a-z')."
(defcustom completion-pcm-complete-word-inserts-delimiters nil
"Treat the SPC or - inserted by `minibuffer-complete-word' as delimiters.
Those chars are treated as delimiters iff this variable is non-nil.
Those chars are treated as delimiters if this variable is non-nil.
I.e. if non-nil, M-x SPC will just insert a \"-\" in the minibuffer, whereas
if nil, it will list all possible commands in *Completions* because none of
the commands start with a \"-\" or a SPC."
......
......@@ -1979,7 +1979,7 @@ OFFSET is the position in STR at which the comparison takes place."
(string-equal match (substring str offset (+ offset match-length))))))
(defun gdbmi-same-start (str offset match)
"Return non-nil iff STR and MATCH are equal up to the end of either strings.
"Return non-nil if STR and MATCH are equal up to the end of either strings.
OFFSET is the position in STR at which the comparison takes place."
(let* ((str-length (- (length str) offset))
(match-length (length match))
......@@ -1989,7 +1989,7 @@ OFFSET is the position in STR at which the comparison takes place."
(substring match 0 compare-length)))))
(defun gdbmi-is-number (character)
"Return non-nil iff CHARACTER is a numerical character between 0 and 9."
"Return non-nil if CHARACTER is a numerical character between 0 and 9."
(and (>= character ?0)
(<= character ?9)))
......
......@@ -1302,7 +1302,7 @@ LIMIT defaults to point."
(up-list -1)))
(defun js--inside-param-list-p ()
"Return non-nil iff point is in a function parameter list."
"Return non-nil if point is in a function parameter list."
(ignore-errors
(save-excursion
(js--up-nearby-list)
......@@ -1313,7 +1313,7 @@ LIMIT defaults to point."
(looking-at "function"))))))))
(defun js--inside-dojo-class-list-p ()
"Return non-nil iff point is in a Dojo multiple-inheritance class block."
"Return non-nil if point is in a Dojo multiple-inheritance class block."
(ignore-errors
(save-excursion
(js--up-nearby-list)
......@@ -1352,7 +1352,7 @@ REGEXPS, but only if FRAMEWORK is in `js-enabled-frameworks'."
(defun js--forward-destructuring-spec (&optional func)
"Move forward over a JavaScript destructuring spec.
If FUNC is supplied, call it with no arguments before every
variable name in the spec. Return true iff this was actually a
variable name in the spec. Return true if this was actually a
spec. FUNC must preserve the match data."
(pcase (char-after)
(?\[
......
......@@ -3228,7 +3228,7 @@ PREFIX is the prefix of the search regexp."
(unless (fboundp 'region-exists-p)
(defun region-exists-p ()
"Non-nil iff the mark is set. Lobotomized version for Emacsen that do not provide their own."
"Non-nil if the mark is set. Lobotomized version for Emacsen that do not provide their own."
(mark)))
......
......@@ -2361,7 +2361,7 @@ the value thus obtained, and the result is used instead."
;; I commented this out because nobody calls it -- rms.
;;(defun sh-abbrevs (ancestor &rest list)
;; "Iff it isn't, define the current shell as abbrev table and fill that.
;; "If it isn't, define the current shell as abbrev table and fill that.
;;Abbrev table will inherit all abbrevs from ANCESTOR, which is either an abbrev
;;table or a list of (NAME1 EXPANSION1 ...). In addition it will define abbrevs
;;according to the remaining arguments NAMEi EXPANSIONi ...
......
......@@ -3159,7 +3159,7 @@ and `verilog-scan'.")
(setq verilog-scan-cache-tick nil))
(defun verilog-scan-cache-ok-p ()
"Return t iff the scan cache is up to date."
"Return t if the scan cache is up to date."
(or (and verilog-scan-cache-preserving
(eq verilog-scan-cache-preserving (current-buffer))
verilog-scan-cache-tick)
......
......@@ -351,7 +351,7 @@ of master file."
docstruct))
(defun reftex-using-biblatex-p ()
"Return non-nil iff we are using biblatex rather than bibtex."
"Return non-nil if we are using biblatex rather than bibtex."
(if (boundp 'TeX-active-styles)
;; the sophisticated AUCTeX way
(member "biblatex" TeX-active-styles)
......
2014-05-01 Glenn Morris <rgm@gnu.org>
* url-parse.el (url-generic-parse-url): Doc fix (replace `iff').
2014-03-26 Juanma Barranquero <lekktu@gmail.com>
* url-handlers.el (url-http-parse-response): Add autoload.
......
......@@ -125,7 +125,7 @@ TARGET is the fragment identifier component (used to refer to a
ATTRIBUTES is nil; this slot originally stored the attribute and
value alists for IMAP URIs, but this feature was removed
since it conflicts with RFC 3986.
FULLNESS is non-nil iff the hierarchical sequence component of
FULLNESS is non-nil if the hierarchical sequence component of
the URL starts with two slashes, \"//\".
The parser follows RFC 3986, except that it also tries to handle
......
2014-05-01 Glenn Morris <rgm@gnu.org>
* floatfns.c (Fisnan):
* profiler.c (Fprofiler_cpu_running_p): Doc fix (replace `iff').
2014-05-01 Eli Zaretskii <eliz@gnu.org>
* term.c (tty_menu_activate): A better initialization for cursor
......
/* Primitive operations on floating point for GNU Emacs Lisp interpreter.
Copyright (C) 1988, 1993-1994, 1999, 2001-2014 Free Software Foundation,
Inc.
Copyright (C) 1988, 1993-1994, 1999, 2001-2014 Free Software Foundation, Inc.
Author: Wolfgang Rupprecht
(according to ack.texi)
......@@ -142,7 +141,7 @@ DEFUN ("tan", Ftan, Stan, 1, 1, 0,
}
DEFUN ("isnan", Fisnan, Sisnan, 1, 1, 0,
doc: /* Return non nil iff argument X is a NaN. */)
doc: /* Return non nil if argument X is a NaN. */)
(Lisp_Object x)
{
CHECK_FLOAT (x);
......
......@@ -384,7 +384,7 @@ Return non-nil if the profiler was running. */)
DEFUN ("profiler-cpu-running-p",
Fprofiler_cpu_running_p, Sprofiler_cpu_running_p,
0, 0, 0,
doc: /* Return non-nil iff cpu profiler is running. */)
doc: /* Return non-nil if cpu profiler is running. */)
(void)
{
return profiler_cpu_running ? Qt : Qnil;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment