diff options
author | Glenn Morris <rgm@gnu.org> | 2014-05-01 19:55:25 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-05-01 19:55:25 -0400 |
commit | d136f1846276c44fa65ec56fb62680a4026750cd (patch) | |
tree | 1e69817c0fee794d5fc8d80708474ff5e4b73556 | |
parent | 969aabf250a052aebe981eaa5f222b55ffc8deb1 (diff) | |
download | emacs-d136f1846276c44fa65ec56fb62680a4026750cd.tar.gz |
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
-rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/misc/autotype.texi | 4 | ||||
-rw-r--r-- | doc/misc/message.texi | 5 | ||||
-rw-r--r-- | doc/misc/semantic.texi | 2 | ||||
-rw-r--r-- | lisp/ChangeLog | 14 | ||||
-rw-r--r-- | lisp/allout-widgets.el | 4 | ||||
-rw-r--r-- | lisp/cedet/ChangeLog | 8 | ||||
-rw-r--r-- | lisp/cedet/ede.el | 4 | ||||
-rw-r--r-- | lisp/cedet/semantic/bovine/c.el | 2 | ||||
-rw-r--r-- | lisp/cedet/semantic/ia-sb.el | 5 | ||||
-rw-r--r-- | lisp/cedet/semantic/tag.el | 2 | ||||
-rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/gnus/gnus-registry.el | 6 | ||||
-rw-r--r-- | lisp/menu-bar.el | 2 | ||||
-rw-r--r-- | lisp/minibuffer.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/gdb-mi.el | 4 | ||||
-rw-r--r-- | lisp/progmodes/js.el | 6 | ||||
-rw-r--r-- | lisp/progmodes/prolog.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/sh-script.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/verilog-mode.el | 2 | ||||
-rw-r--r-- | lisp/textmodes/reftex-parse.el | 2 | ||||
-rw-r--r-- | lisp/url/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/url/url-parse.el | 2 | ||||
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/floatfns.c | 5 | ||||
-rw-r--r-- | src/profiler.c | 2 |
26 files changed, 71 insertions, 34 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index d80a44b2db8..86ae8c99782 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi index ae3fa0e5870..e01a6c2f5c5 100644 --- a/doc/misc/autotype.texi +++ b/doc/misc/autotype.texi @@ -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 diff --git a/doc/misc/message.texi b/doc/misc/message.texi index 9be8ca05620..75452aa57cf 100644 --- a/doc/misc/message.texi +++ b/doc/misc/message.texi @@ -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 diff --git a/doc/misc/semantic.texi b/doc/misc/semantic.texi index f9ccd034fe6..b72fb3c88cf 100644 --- a/doc/misc/semantic.texi +++ b/doc/misc/semantic.texi @@ -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 diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 669467687d2..c4115376724 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,17 @@ +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. diff --git a/lisp/allout-widgets.el b/lisp/allout-widgets.el index 65517607980..66ec0c333a7 100644 --- a/lisp/allout-widgets.el +++ b/lisp/allout-widgets.el @@ -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. diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 51339cebe60..750e0bca095 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,3 +1,11 @@ +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) diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el index 70bac9aae3e..cbcc20f5039 100644 --- a/lisp/cedet/ede.el +++ b/lisp/cedet/ede.el @@ -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) diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el index e4f239b14a9..e9715cc1bb0 100644 --- a/lisp/cedet/semantic/bovine/c.el +++ b/lisp/cedet/semantic/bovine/c.el @@ -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) diff --git a/lisp/cedet/semantic/ia-sb.el b/lisp/cedet/semantic/ia-sb.el index f77760c4452..006e8e8259f 100644 --- a/lisp/cedet/semantic/ia-sb.el +++ b/lisp/cedet/semantic/ia-sb.el @@ -1,7 +1,6 @@ ;;; 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) diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el index 97fa607f9ae..31354846ec0 100644 --- a/lisp/cedet/semantic/tag.el +++ b/lisp/cedet/semantic/tag.el @@ -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. diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index cdf22ef256a..00dbf131880 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +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 diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el index 5989b8885bc..f3b81f77b50 100644 --- a/lisp/gnus/gnus-registry.el +++ b/lisp/gnus/gnus-registry.el @@ -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) diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 84df6922749..436d8f611a8 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -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))) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index bbb7114610d..9dd4ef9fe04 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -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." diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 7f8c483ee5c..0c81a8506c0 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -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))) diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index cc9ee8fe67b..5be1373213e 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -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) (?\[ diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index d82eea05e1c..bcac59a3ade 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el @@ -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))) diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 06d7a8fdffe..03c845851e2 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -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 ... diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index ee5f8cb046b..84d7c15f76c 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el @@ -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) diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el index 40aa31a648b..71bec89a51d 100644 --- a/lisp/textmodes/reftex-parse.el +++ b/lisp/textmodes/reftex-parse.el @@ -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) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index cb37b4511bd..da7d7325a01 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/lisp/url/url-parse.el b/lisp/url/url-parse.el index 50de84f5167..0a811297986 100644 --- a/lisp/url/url-parse.el +++ b/lisp/url/url-parse.el @@ -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 diff --git a/src/ChangeLog b/src/ChangeLog index 17a32a4823f..12a0cd63dc0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/src/floatfns.c b/src/floatfns.c index ac0447ce6d6..75106a661b7 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -1,7 +1,6 @@ /* 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); diff --git a/src/profiler.c b/src/profiler.c index 8b092dcc818..fff7c6b0ff6 100644 --- a/src/profiler.c +++ b/src/profiler.c @@ -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; |