; Fix doc typos related to indefinite articles

This commit is contained in:
Glenn Morris 2018-02-16 17:33:57 -05:00
parent aaad1e62f3
commit 69107f347b
32 changed files with 44 additions and 46 deletions

View file

@ -917,8 +917,8 @@ variablearg-opt-name
( ,$1 ) ( ,$1 )
| semantic-list arg-list | semantic-list arg-list
( (car ( EXPAND $1 function-pointer )) $2) ( (car ( EXPAND $1 function-pointer )) $2)
;; Klaus Berndl: This allows variableargs without a arg-name being ;; Klaus Berndl: This allows variableargs without an arg-name being
;; parsed correct even if there several pointers (*) ;; parsed correctly even if there several pointers (*)
| opt-stars | opt-stars
( "" ,$1 nil nil nil ) ( "" ,$1 nil nil nil )
; ;

View file

@ -85,7 +85,7 @@ regard to completeness.
code (keymap.c and print.c). code (keymap.c and print.c).
* Rationalize character syntax and its relationship to the Unicode * Rationalize character syntax and its relationship to the Unicode
database. (Applies mainly to symbol an punctuation syntax.) database. (Applies mainly to symbol and punctuation syntax.)
* Fontset handling and customization needs work. We want to relate * Fontset handling and customization needs work. We want to relate
fonts to scripts, probably based on the Unicode blocks. The fonts to scripts, probably based on the Unicode blocks. The

View file

@ -667,7 +667,7 @@ reason.
@defun ask-user-about-supersession-threat filename @defun ask-user-about-supersession-threat filename
This function is used to ask a user how to proceed after an attempt to This function is used to ask a user how to proceed after an attempt to
modify an buffer visiting file @var{filename} when the file is newer modify a buffer visiting file @var{filename} when the file is newer
than the buffer text. Emacs detects this because the modification than the buffer text. Emacs detects this because the modification
time of the file on disk is newer than the last save-time and its contents time of the file on disk is newer than the last save-time and its contents
have changed. have changed.

View file

@ -1449,7 +1449,7 @@ all those email addresses?
@subsubheading Answer @subsubheading Answer
There's an very basic solution for this, mail aliases. There's a very basic solution for this, mail aliases.
You can store your mail addresses in a ~/.mailrc file using a simple You can store your mail addresses in a ~/.mailrc file using a simple
alias syntax: alias syntax:

View file

@ -70,7 +70,7 @@ For changes in Emacs 23.1 and later, see the main Emacs NEWS file.
* Version 2.02d: * Version 2.02d:
** Fixed a minor installation problem with a Emacs 19.29 byte-compiler bug. ** Fixed a minor installation problem with an Emacs 19.29 byte-compiler bug.
** Removed archaic "macedit" package (superseded by "edmacro"). ** Removed archaic "macedit" package (superseded by "edmacro").

View file

@ -84,7 +84,7 @@ whether it is possible to deduce the tag name from the pattern, and make
an unnamed tag in those cases. The name deduced from the pattern of an an unnamed tag in those cases. The name deduced from the pattern of an
unnamed tag is the implicit name of that tag. unnamed tag is the implicit name of that tag.
When the user looks for a tag, and Emacs finds no explicit tag names When the user looks for a tag, and Emacs finds no explicit tag names
that match it, Emacs then looks for an tag whose implicit tag name that match it, Emacs then looks for a tag whose implicit tag name
matches the request. etags.c uses implicit tag names when possible, in matches the request. etags.c uses implicit tag names when possible, in
order to reduce the size of the tags file. order to reduce the size of the tags file.
An implicit tag name is deduced from the pattern by discarding the An implicit tag name is deduced from the pattern by discarding the

View file

@ -4130,17 +4130,16 @@ is an alternative to using the keymap itself.
** Changes in invisibility features ** Changes in invisibility features
*** Isearch can now temporarily show parts of the buffer which are *** Isearch can now temporarily show parts of the buffer which are
hidden by an overlay with a invisible property, when the search match hidden by an overlay with an invisible property, when the search match
is inside that portion of the buffer. To enable this the overlay is inside that portion of the buffer. To enable this the overlay
should have a isearch-open-invisible property which is a function that should have an isearch-open-invisible property, which is a function that
would be called having the overlay as an argument, the function should would be called with the overlay as an argument, and should make it visible.
make the overlay visible.
During incremental search the overlays are shown by modifying the During incremental search the overlays are shown by modifying the
invisible and intangible properties, if beside this more actions are invisible and intangible properties. If more actions are
needed the overlay should have a isearch-open-invisible-temporary needed, the overlay should have an isearch-open-invisible-temporary property,
which is a function. The function is called with 2 arguments: one is which is a function. The function is called with 2 arguments: one is
the overlay and the second is nil when it should show the overlay and the overlay, and the second is nil when it should show the overlay and
t when it should hide it. t when it should hide it.
*** add-to-invisibility-spec, remove-from-invisibility-spec *** add-to-invisibility-spec, remove-from-invisibility-spec

View file

@ -4348,7 +4348,7 @@ integer. This is a required property.
`:pt-height HEIGHT' `:pt-height HEIGHT'
HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT
must be a integer. This is an required property. must be an integer. This is a required property.
`:bounding-box BOX' `:bounding-box BOX'
@ -4868,7 +4868,7 @@ temporarily to nil, for example
(enlarge-window 10)) (enlarge-window 10))
Likewise, an attempt to split a fixed-height window vertically, Likewise, an attempt to split a fixed-height window vertically,
or a fixed-width window horizontally results in a error. or a fixed-width window horizontally results in an error.
** The cursor-type frame parameter is now supported on MS-DOS ** The cursor-type frame parameter is now supported on MS-DOS
terminals. When Emacs starts, it by default changes the cursor shape terminals. When Emacs starts, it by default changes the cursor shape

View file

@ -4895,7 +4895,7 @@ described above and specifies the total height of the line, causing a
varying number of pixels to be inserted after the line to make it line varying number of pixels to be inserted after the line to make it line
exactly that many pixels high. exactly that many pixels high.
If the `line-spacing' property value is an positive integer, the value If the `line-spacing' property value is a positive integer, the value
is used as additional pixels to insert after the display line; this is used as additional pixels to insert after the display line; this
overrides the default frame `line-spacing' and any buffer local value of overrides the default frame `line-spacing' and any buffer local value of
the `line-spacing' variable. the `line-spacing' variable.

View file

@ -148,7 +148,7 @@ directories in published site-maps.
**** Scheme: support for tables **** Scheme: support for tables
**** Scheme: new variable: ~org-babel-scheme-null-to~ **** Scheme: new variable: ~org-babel-scheme-null-to~
This new custom option allows to use a empty list or null symbol to This new custom option allows you to use an empty list or null symbol to
format the table output, initially assigned to ~hlines~. format the table output, initially assigned to ~hlines~.
**** Scheme: new header ~:prologue~ **** Scheme: new header ~:prologue~

View file

@ -631,7 +631,7 @@ Todo mode revisit this file or, with option
file was last visited. file was last visited.
If you call this command before you have created any todo file in If you call this command before you have created any todo file in
the current format, and you have an todo file in old format, it the current format, and you have a todo file in old format, it
will ask you whether to convert that file and show it. will ask you whether to convert that file and show it.
Otherwise, calling this command before any todo file exists Otherwise, calling this command before any todo file exists
prompts for a file name and an initial category (defaulting to prompts for a file name and an initial category (defaulting to

View file

@ -121,7 +121,7 @@ See `semantic-analyze-scoped-tags' for details.")
:type buffer :type buffer
:documentation "The buffer this context is derived from.") :documentation "The buffer this context is derived from.")
(errors :initarg :errors (errors :initarg :errors
:documentation "Any errors thrown an caught during analysis.") :documentation "Any errors thrown and caught during analysis.")
) )
"Base analysis data for any context.") "Base analysis data for any context.")

View file

@ -67,7 +67,7 @@ For mode authors, use
`defcustom-mode-local-semantic-dependency-system-include-path' `defcustom-mode-local-semantic-dependency-system-include-path'
to create a mode-specific variable to control this. to create a mode-specific variable to control this.
When searching for a file associated with a name found in an tag of When searching for a file associated with a name found in a tag of
class include, this path will be inspected for includes of type class include, this path will be inspected for includes of type
`system'. Some include tags are agnostic to this setting and will `system'. Some include tags are agnostic to this setting and will
check both the project and system directories.") check both the project and system directories.")

View file

@ -408,7 +408,7 @@ TYPE name does not exist. Otherwise signal an error."
SPECS must be a list of (TYPE . TOKENS) elements, where: SPECS must be a list of (TYPE . TOKENS) elements, where:
TYPE is the name of the type symbol to define. TYPE is the name of the type symbol to define.
TOKENS is an list of (TOKSYM . MATCHER) elements, where: TOKENS is a list of (TOKSYM . MATCHER) elements, where:
TOKSYM is any lexical token symbol. TOKSYM is any lexical token symbol.
MATCHER is a string or regexp a text must match to be a such MATCHER is a string or regexp a text must match to be a such

View file

@ -1766,7 +1766,7 @@ with PKG-DESC entry removed."
"Return a list of dependencies for PACKAGE sorted by dependency. "Return a list of dependencies for PACKAGE sorted by dependency.
PACKAGE is included as the first element of the returned list. PACKAGE is included as the first element of the returned list.
ONLY is an alist associating package names to package objects. ONLY is an alist associating package names to package objects.
Only these packages will be in the return value an their cdrs are Only these packages will be in the return value and their cdrs are
destructively set to nil in ONLY." destructively set to nil in ONLY."
(let ((out)) (let ((out))
(dolist (dep (package-desc-reqs package)) (dolist (dep (package-desc-reqs package))

View file

@ -1835,7 +1835,7 @@ If SYNTACTIC-KEYWORDS is non-nil, it means these keywords are used for
(eval keywords))))) (eval keywords)))))
(defun font-lock-value-in-major-mode (values) (defun font-lock-value-in-major-mode (values)
"If VALUES is an list, use `major-mode' as a key and return the `assq' value. "If VALUES is a list, use `major-mode' as a key and return the `assq' value.
VALUES should then be an alist on the form ((MAJOR-MODE . VALUE) ...) where VALUES should then be an alist on the form ((MAJOR-MODE . VALUE) ...) where
MAJOR-MODE may be t. MAJOR-MODE may be t.
If VALUES isn't a list, return VALUES." If VALUES isn't a list, return VALUES."

View file

@ -284,7 +284,7 @@
:group 'gnus-outlook-deuglify) :group 'gnus-outlook-deuglify)
(defcustom gnus-outlook-display-hook nil (defcustom gnus-outlook-display-hook nil
"A hook called after an deuglified article has been prepared. "A hook called after a deuglified article has been prepared.
It is run after `gnus-article-prepare-hook'." It is run after `gnus-article-prepare-hook'."
:version "22.1" :version "22.1"
:type 'hook :type 'hook

View file

@ -365,7 +365,7 @@ category."))
(unless (or group topic) (unless (or group topic)
(error "No group on current line")) (error "No group on current line"))
(when (and group topic) (when (and group topic)
(error "Both a group an topic on current line")) (error "Both a group and topic on current line"))
(unless (or topic (setq info (gnus-get-info group))) (unless (or topic (setq info (gnus-get-info group)))
(error "Killed group; can't be edited")) (error "Killed group; can't be edited"))
;; Ready. ;; Ready.

View file

@ -60,11 +60,11 @@
"Base URL for getting gravatars.") "Base URL for getting gravatars.")
(defun gravatar-hash (mail-address) (defun gravatar-hash (mail-address)
"Create an hash from MAIL-ADDRESS." "Create a hash from MAIL-ADDRESS."
(md5 (downcase mail-address))) (md5 (downcase mail-address)))
(defun gravatar-build-url (mail-address) (defun gravatar-build-url (mail-address)
"Return an URL to retrieve MAIL-ADDRESS gravatar." "Return a URL to retrieve MAIL-ADDRESS gravatar."
(format "%s/%s?d=404&r=%s&s=%d" (format "%s/%s?d=404&r=%s&s=%d"
gravatar-base-url gravatar-base-url
(gravatar-hash mail-address) (gravatar-hash mail-address)

View file

@ -92,7 +92,7 @@ replaced with the file.
MIME-TYPE is a regular expression being matched against the MIME-TYPE is a regular expression being matched against the
actual MIME type. It is implicitly surrounded with ^ and $. actual MIME type. It is implicitly surrounded with ^ and $.
TEST is an lisp form which is evaluated in order to test if the TEST is a lisp form which is evaluated in order to test if the
entry should be chosen. The `test' entry is optional. entry should be chosen. The `test' entry is optional.
When selecting a viewer for a given MIME type, the first viewer When selecting a viewer for a given MIME type, the first viewer
@ -555,7 +555,7 @@ MAILCAPS if set; otherwise (on Unix) use the path from RFC 1524, plus
(defun mailcap-mailcap-entry-passes-test (info) (defun mailcap-mailcap-entry-passes-test (info)
"Replace the test clause of INFO itself with a boolean for some cases. "Replace the test clause of INFO itself with a boolean for some cases.
This function supports only `test -n $DISPLAY' and `test -z $DISPLAY', This function supports only `test -n $DISPLAY' and `test -z $DISPLAY',
replaces them with t or nil. As for others or if INFO has a interactive replaces them with t or nil. As for others or if INFO has an interactive
spec (needsterm, needsterminal, or needsx11) but DISPLAY is not set, spec (needsterm, needsterminal, or needsx11) but DISPLAY is not set,
the test clause will be unchanged." the test clause will be unchanged."
(let ((test (assq 'test info)) ; The test clause (let ((test (assq 'test info)) ; The test clause

View file

@ -37,7 +37,7 @@
(declare-function org-trim "org" (s &optional keep-lead)) (declare-function org-trim "org" (s &optional keep-lead))
(defvar org-babel-default-header-args:calc nil (defvar org-babel-default-header-args:calc nil
"Default arguments for evaluating an calc source block.") "Default arguments for evaluating a calc source block.")
(defun org-babel-expand-body:calc (body _params) (defun org-babel-expand-body:calc (body _params)
"Expand BODY according to PARAMS, return the expanded body." body) "Expand BODY according to PARAMS, return the expanded body." body)

View file

@ -1394,7 +1394,7 @@ the default behavior."
;;;###autoload ;;;###autoload
(defun org-clock-in-last (&optional arg) (defun org-clock-in-last (&optional arg)
"Clock in the last closed clocked item. "Clock in the last closed clocked item.
When already clocking in, send an warning. When already clocking in, send a warning.
With a universal prefix argument, select the task you want to With a universal prefix argument, select the task you want to
clock in from the last clocked in tasks. clock in from the last clocked in tasks.
With two universal prefix arguments, start clocking using the With two universal prefix arguments, start clocking using the

View file

@ -600,8 +600,7 @@ allow document of a given class (irrespective of its source
format) to be converted to any of the export formats associated format) to be converted to any of the export formats associated
with that class. with that class.
See default setting of this variable for an typical See default setting of this variable for a typical configuration."
configuration."
:group 'org-export-odt :group 'org-export-odt
:version "24.1" :version "24.1"
:type :type
@ -1938,7 +1937,7 @@ holding contextual information."
(defun org-odt-format-inlinetask-default-function (defun org-odt-format-inlinetask-default-function
(todo todo-type priority name tags contents) (todo todo-type priority name tags contents)
"Default format function for a inlinetasks. "Default format function for inlinetasks.
See `org-odt-format-inlinetask-function' for details." See `org-odt-format-inlinetask-function' for details."
(format "\n<text:p text:style-name=\"%s\">%s</text:p>" (format "\n<text:p text:style-name=\"%s\">%s</text:p>"
"Text_20_body" "Text_20_body"

View file

@ -3295,7 +3295,7 @@ comment at the start of cc-engine.el for more info."
(point) (point)
here))) here)))
pa+1 ; pos just after an opening PAren (or brace). pa+1 ; pos just after an opening PAren (or brace).
(ren+1 from) ; usually a pos just after an closing paREN etc. (ren+1 from) ; usually a pos just after a closing paREN etc.
; Is actually the pos. to scan for a (/{/[ from, ; Is actually the pos. to scan for a (/{/[ from,
; which sometimes is after a silly )/}/]. ; which sometimes is after a silly )/}/].
paren+1 ; Pos after some opening or closing paren. paren+1 ; Pos after some opening or closing paren.

View file

@ -2774,7 +2774,7 @@ local variable."
;; Our start must be between them ;; Our start must be between them
(goto-char last) (goto-char last)
;; Find an beginning-of-stmt that's not in a comment ;; Find a beginning-of-stmt that's not in a comment
(while (and (re-search-forward regexp next t 1) (while (and (re-search-forward regexp next t 1)
(nth 7 (syntax-ppss))) (nth 7 (syntax-ppss)))
(goto-char (match-end 0))) (goto-char (match-end 0)))

View file

@ -60,7 +60,7 @@ they'll frustrate you after you've forgotten about them.
For another, the X keysyms provide a standard set of names that Emacs knows For another, the X keysyms provide a standard set of names that Emacs knows
about. It tries to bind many of them to useful things at startup, before your about. It tries to bind many of them to useful things at startup, before your
.emacs is read (so you can override them). In some ways, the X keysym standard .emacs is read (so you can override them). In some ways, the X keysym standard
is a admittedly poor one; it's incomplete, and not well matched to the set of is an admittedly poor one; it's incomplete, and not well matched to the set of
'virtual keys' that UNIX terminfo(3) provides. But, trust us, the alternatives 'virtual keys' that UNIX terminfo(3) provides. But, trust us, the alternatives
were worse. were worse.

View file

@ -1732,7 +1732,7 @@ FLYSPELL-BUFFER."
;;*---------------------------------------------------------------------*/ ;;*---------------------------------------------------------------------*/
;;* flyspell-properties-at-p ... */ ;;* flyspell-properties-at-p ... */
;;* ------------------------------------------------------------- */ ;;* ------------------------------------------------------------- */
;;* Is there an highlight properties at position pos? */ ;;* Is there a highlight property at position pos? */
;;*---------------------------------------------------------------------*/ ;;*---------------------------------------------------------------------*/
(defun flyspell-properties-at-p (pos) (defun flyspell-properties-at-p (pos)
"Return t if there is a text property at POS, not counting `local-map'. "Return t if there is a text property at POS, not counting `local-map'.

View file

@ -1229,7 +1229,7 @@ When not inside a field, signal an error."
(save-restriction (save-restriction
;; `widget-narrow-to-field' can be ;; `widget-narrow-to-field' can be
;; active when this function is called ;; active when this function is called
;; from an change-functions hook. So ;; from a change-functions hook. So
;; temporarily remove field narrowing ;; temporarily remove field narrowing
;; before to call `get-char-property'. ;; before to call `get-char-property'.
(widen) (widen)
@ -1802,7 +1802,7 @@ If END is omitted, it defaults to the length of LIST."
;;; The `url-link' Widget. ;;; The `url-link' Widget.
(define-widget 'url-link 'link (define-widget 'url-link 'link
"A link to an www page." "A link to a web page."
:action 'widget-url-link-action) :action 'widget-url-link-action)
(defun widget-url-link-action (widget &optional _event) (defun widget-url-link-action (widget &optional _event)

View file

@ -564,7 +564,7 @@ define pgi
end end
document pgi document pgi
Pretty print glyph structure glyph[I]. Pretty print glyph structure glyph[I].
Takes one argument, a integer I. Takes one argument, an integer I.
end end
define pgn define pgn

View file

@ -3980,7 +3980,7 @@ decode_coding_iso_2022 (struct coding_system *coding)
/* Reset the invocation and designation status to the safest /* Reset the invocation and designation status to the safest
one; i.e. designate ASCII to the graphic register 0, and one; i.e. designate ASCII to the graphic register 0, and
invoke that register to the graphic plane 0. This typically invoke that register to the graphic plane 0. This typically
helps the case that an designation sequence for ASCII "ESC ( helps the case that a designation sequence for ASCII "ESC (
B" is somehow broken (e.g. broken by a newline). */ B" is somehow broken (e.g. broken by a newline). */
CODING_ISO_INVOCATION (coding, 0) = 0; CODING_ISO_INVOCATION (coding, 0) = 0;
CODING_ISO_DESIGNATION (coding, 0) = charset_ascii; CODING_ISO_DESIGNATION (coding, 0) = charset_ascii;

View file

@ -3724,7 +3724,7 @@ setting of the remote datagram address. When specified for a client
process, the FAMILY, HOST, and SERVICE args are ignored. process, the FAMILY, HOST, and SERVICE args are ignored.
The format of ADDRESS depends on the address family: The format of ADDRESS depends on the address family:
- An IPv4 address is represented as an vector of integers [A B C D P] - An IPv4 address is represented as a vector of integers [A B C D P]
corresponding to numeric IP address A.B.C.D and port number P. corresponding to numeric IP address A.B.C.D and port number P.
- A local address is represented as a string with the address in the - A local address is represented as a string with the address in the
local address space. local address space.

View file

@ -53,7 +53,7 @@ static char *current_font;
static struct x_display_info *first_dpyinfo; static struct x_display_info *first_dpyinfo;
static Lisp_Object current_tool_bar_style; static Lisp_Object current_tool_bar_style;
/* Store an config changed event in to the event queue. */ /* Store a config changed event in to the event queue. */
static void static void
store_config_changed_event (Lisp_Object arg, Lisp_Object display_name) store_config_changed_event (Lisp_Object arg, Lisp_Object display_name)