From: Eli Zaretskii Date: Sat, 22 Jan 2022 18:47:10 +0000 (+0200) Subject: Minor copyedits in "Symbols with Position" X-Git-Tag: emacs-29.0.90~2849 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7922131bb20ebf5570cf9a7fd96c957677e2a6c2;p=emacs.git Minor copyedits in "Symbols with Position" * doc/lispref/symbols.texi (Symbols with Position): Fix wording and improve indexing. --- diff --git a/doc/lispref/symbols.texi b/doc/lispref/symbols.texi index f3a9e586e36..9e44348b671 100644 --- a/doc/lispref/symbols.texi +++ b/doc/lispref/symbols.texi @@ -754,8 +754,9 @@ Symbol forms whose names start with @samp{#_} are not transformed. @node Symbols with Position @section Symbols with Position -@cindex symbols with position +@cindex symbol with position +@cindex bare symbol A @dfn{symbol with position} is a symbol, the @dfn{bare symbol}, together with an unsigned integer called the @dfn{position}. These objects are intended for use by the byte compiler, which records in @@ -802,12 +803,12 @@ position, @code{nil} otherwise. @defun bare-symbol symbol This function returns the bare symbol contained in @var{symbol}, or @var{symbol} itself if it is already a bare symbol. For any other -type of object, it throws an error. +type of object, it signals an error. @end defun @defun symbol-with-pos-pos symbol This function returns the position, a number, from a symbol with -position. For any other type of object, it throws an error. +position. For any other type of object, it signals an error. @end defun @defun position-symbol sym pos @@ -815,5 +816,5 @@ Make a new symbol with position. @var{sym} is either a bare symbol or a symbol with position, and supplies the symbol part of the new object. @var{pos} is either an integer which becomes the number part of the new object, or a symbol with position whose position is used. -Emacs throws an error if either argument is invalid. +Emacs signals an error if either argument is invalid. @end defun