; Consistently call alists "association list"

* doc/lispref/compile.texi (Compiler Errors):
* doc/misc/gnus.texi (Score File Format):
* etc/NEWS.24:
* lisp/emacs-lisp/byte-run.el (with-suppressed-warnings):
* lisp/progmodes/gdb-mi.el (gdb-threads-list)
(gdb-breakpoints-list, gdb-place-breakpoints): Prefer the term
"association list" for alists.
This commit is contained in:
Stefan Kangas 2022-11-27 18:07:57 +01:00
parent eaa823b9d6
commit 7bf393dcf0
5 changed files with 7 additions and 7 deletions

View file

@ -516,7 +516,7 @@ using the @code{with-suppressed-warnings} macro:
@defspec with-suppressed-warnings warnings body@dots{}
In execution, this is equivalent to @code{(progn @var{body}...)}, but
the compiler does not issue warnings for the specified conditions in
@var{body}. @var{warnings} is an associative list of warning symbols
@var{body}. @var{warnings} is an association list of warning symbols
and function/variable symbols they apply to. For instance, if you
wish to call an obsolete function called @code{foo}, but want to
suppress the compilation warning, say:

View file

@ -20564,7 +20564,7 @@ returned value is required to be an integer.
(score-fn (custom-scoring))
@end example
The user-defined function is called with an associative list with the
The user-defined function is called with an association list with the
keys @code{number subject from date id refs chars lines xref extra}
followed by the article's score before the function is run.

View file

@ -704,7 +704,7 @@ related to that keyword.
*** The format of 'archive-contents' files, generated by package
repositories, has changed to allow a new (fifth) element in the data
vectors, containing an associative list with extra properties.
vectors, containing an association list with extra properties.
(For example, 'describe-package' uses the ':url' extra property to
display a "Homepage" header.)

View file

@ -632,7 +632,7 @@ enabled."
(defmacro with-suppressed-warnings (warnings &rest body)
"Like `progn', but prevents compiler WARNINGS in BODY.
WARNINGS is an associative list where the first element of each
WARNINGS is an association list where the first element of each
item is a warning type, and the rest of the elements in each item
are symbols they apply to. For instance, if you want to suppress
byte compilation warnings about the two obsolete functions `foo'

View file

@ -177,7 +177,7 @@ May be manually changed by user with `gdb-select-frame'.")
"Number of selected line for main current thread.")
(defvar gdb-threads-list nil
"Associative list of threads provided by \"-thread-info\" MI command.
"Association list of threads provided by \"-thread-info\" MI command.
Keys are thread numbers (in strings) and values are structures as
returned from -thread-info by `gdb-mi--partial-output'. Updated in
@ -196,7 +196,7 @@ Updated in `gdb-thread-list-handler-custom'.")
See also `gdb-running-threads-count'.")
(defvar gdb-breakpoints-list nil
"Associative list of breakpoints provided by \"-break-list\" MI command.
"Association list of breakpoints provided by \"-break-list\" MI command.
Keys are breakpoint numbers (in string) and values are structures
as returned from \"-break-list\" by `gdb-mi--partial-output'
@ -3159,7 +3159,7 @@ See `def-gdb-auto-update-handler'."
(gdb-remove-breakpoint-icons (point-min) (point-max)))))
(dolist (breakpoint gdb-breakpoints-list)
(let* ((breakpoint (cdr breakpoint)) ; gdb-breakpoints-list is
; an associative list
; an association list
(line (gdb-mi--field breakpoint 'line)))
(when line
(let ((file (gdb-mi--field breakpoint 'fullname))