Commit 69107f34 authored by Glenn Morris's avatar Glenn Morris

; Fix doc typos related to indefinite articles

parent aaad1e62
......@@ -917,8 +917,8 @@ variablearg-opt-name
( ,$1 )
| semantic-list arg-list
( (car ( EXPAND $1 function-pointer )) $2)
;; Klaus Berndl: This allows variableargs without a arg-name being
;; parsed correct even if there several pointers (*)
;; Klaus Berndl: This allows variableargs without an arg-name being
;; parsed correctly even if there several pointers (*)
| opt-stars
( "" ,$1 nil nil nil )
;
......
......@@ -85,7 +85,7 @@ regard to completeness.
code (keymap.c and print.c).
* 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
fonts to scripts, probably based on the Unicode blocks. The
......
......@@ -667,7 +667,7 @@ reason.
@defun ask-user-about-supersession-threat filename
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
time of the file on disk is newer than the last save-time and its contents
have changed.
......
......@@ -1449,7 +1449,7 @@ all those email addresses?
@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
alias syntax:
......
......@@ -70,7 +70,7 @@ For changes in Emacs 23.1 and later, see the main Emacs NEWS file.
* 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").
......
......@@ -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
unnamed tag is the implicit name of that tag.
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
order to reduce the size of the tags file.
An implicit tag name is deduced from the pattern by discarding the
......
......@@ -4130,17 +4130,16 @@ is an alternative to using the keymap itself.
** Changes in invisibility features
*** 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
should have a isearch-open-invisible property which is a function that
would be called having the overlay as an argument, the function should
make the overlay visible.
should have an isearch-open-invisible property, which is a function that
would be called with the overlay as an argument, and should make it visible.
During incremental search the overlays are shown by modifying the
invisible and intangible properties, if beside this more actions are
needed the overlay should have a isearch-open-invisible-temporary
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
invisible and intangible properties. If more actions are
needed, the overlay should have an isearch-open-invisible-temporary property,
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
t when it should hide it.
*** add-to-invisibility-spec, remove-from-invisibility-spec
......
......@@ -4348,7 +4348,7 @@ integer. This is a required property.
`:pt-height 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'
......@@ -4868,7 +4868,7 @@ temporarily to nil, for example
(enlarge-window 10))
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
terminals. When Emacs starts, it by default changes the cursor shape
......
......@@ -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
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
overrides the default frame `line-spacing' and any buffer local value of
the `line-spacing' variable.
......
......@@ -148,7 +148,7 @@ directories in published site-maps.
**** Scheme: support for tables
**** 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~.
**** Scheme: new header ~:prologue~
......
......@@ -631,7 +631,7 @@ Todo mode revisit this file or, with option
file was last visited.
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.
Otherwise, calling this command before any todo file exists
prompts for a file name and an initial category (defaulting to
......
......@@ -121,7 +121,7 @@ See `semantic-analyze-scoped-tags' for details.")
:type buffer
:documentation "The buffer this context is derived from.")
(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.")
......
......@@ -67,7 +67,7 @@ For mode authors, use
`defcustom-mode-local-semantic-dependency-system-include-path'
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
`system'. Some include tags are agnostic to this setting and will
check both the project and system directories.")
......
......@@ -408,7 +408,7 @@ TYPE name does not exist. Otherwise signal an error."
SPECS must be a list of (TYPE . TOKENS) elements, where:
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.
MATCHER is a string or regexp a text must match to be a such
......
......@@ -1766,7 +1766,7 @@ with PKG-DESC entry removed."
"Return a list of dependencies for PACKAGE sorted by dependency.
PACKAGE is included as the first element of the returned list.
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."
(let ((out))
(dolist (dep (package-desc-reqs package))
......
......@@ -1835,7 +1835,7 @@ If SYNTACTIC-KEYWORDS is non-nil, it means these keywords are used for
(eval keywords)))))
(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
MAJOR-MODE may be t.
If VALUES isn't a list, return VALUES."
......
......@@ -284,7 +284,7 @@
:group 'gnus-outlook-deuglify)
(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'."
:version "22.1"
:type 'hook
......
......@@ -365,7 +365,7 @@ category."))
(unless (or group topic)
(error "No group on current line"))
(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)))
(error "Killed group; can't be edited"))
;; Ready.
......
......@@ -60,11 +60,11 @@
"Base URL for getting gravatars.")
(defun gravatar-hash (mail-address)
"Create an hash from MAIL-ADDRESS."
"Create a hash from MAIL-ADDRESS."
(md5 (downcase 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"
gravatar-base-url
(gravatar-hash mail-address)
......
......@@ -92,7 +92,7 @@ replaced with the file.
MIME-TYPE is a regular expression being matched against the
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.
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)
"Replace the test clause of INFO itself with a boolean for some cases.
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,
the test clause will be unchanged."
(let ((test (assq 'test info)) ; The test clause
......
......@@ -37,7 +37,7 @@
(declare-function org-trim "org" (s &optional keep-lead))
(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)
"Expand BODY according to PARAMS, return the expanded body." body)
......
......@@ -1394,7 +1394,7 @@ the default behavior."
;;;###autoload
(defun org-clock-in-last (&optional arg)
"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
clock in from the last clocked in tasks.
With two universal prefix arguments, start clocking using the
......
......@@ -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
with that class.
See default setting of this variable for an typical
configuration."
See default setting of this variable for a typical configuration."
:group 'org-export-odt
:version "24.1"
:type
......@@ -1938,7 +1937,7 @@ holding contextual information."
(defun org-odt-format-inlinetask-default-function
(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."
(format "\n<text:p text:style-name=\"%s\">%s</text:p>"
"Text_20_body"
......
......@@ -3295,7 +3295,7 @@ comment at the start of cc-engine.el for more info."
(point)
here)))
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,
; which sometimes is after a silly )/}/].
paren+1 ; Pos after some opening or closing paren.
......
......@@ -2774,7 +2774,7 @@ local variable."
;; Our start must be between them
(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)
(nth 7 (syntax-ppss)))
(goto-char (match-end 0)))
......
......@@ -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
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
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
were worse.
......
......@@ -1732,7 +1732,7 @@ FLYSPELL-BUFFER."
;;*---------------------------------------------------------------------*/
;;* 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)
"Return t if there is a text property at POS, not counting `local-map'.
......
......@@ -1229,7 +1229,7 @@ When not inside a field, signal an error."
(save-restriction
;; `widget-narrow-to-field' can be
;; active when this function is called
;; from an change-functions hook. So
;; from a change-functions hook. So
;; temporarily remove field narrowing
;; before to call `get-char-property'.
(widen)
......@@ -1802,7 +1802,7 @@ If END is omitted, it defaults to the length of LIST."
;;; The `url-link' Widget.
(define-widget 'url-link 'link
"A link to an www page."
"A link to a web page."
:action 'widget-url-link-action)
(defun widget-url-link-action (widget &optional _event)
......
......@@ -564,7 +564,7 @@ define pgi
end
document pgi
Pretty print glyph structure glyph[I].
Takes one argument, a integer I.
Takes one argument, an integer I.
end
define pgn
......
......@@ -3980,7 +3980,7 @@ decode_coding_iso_2022 (struct coding_system *coding)
/* Reset the invocation and designation status to the safest
one; i.e. designate ASCII to the graphic register 0, and
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). */
CODING_ISO_INVOCATION (coding, 0) = 0;
CODING_ISO_DESIGNATION (coding, 0) = charset_ascii;
......
......@@ -3724,7 +3724,7 @@ setting of the remote datagram address. When specified for a client
process, the FAMILY, HOST, and SERVICE args are ignored.
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.
- A local address is represented as a string with the address in the
local address space.
......
......@@ -53,7 +53,7 @@ static char *current_font;
static struct x_display_info *first_dpyinfo;
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
store_config_changed_event (Lisp_Object arg, Lisp_Object display_name)
......
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