aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2022-01-22 20:47:10 +0200
committerEli Zaretskii2022-01-22 20:47:10 +0200
commit7922131bb20ebf5570cf9a7fd96c957677e2a6c2 (patch)
tree2fa0f226d971e8c3fa3c6ada66135bcd76f2f282
parentdf49e3a3ab4cddf1e3c0f5482c7fdd809d8a8884 (diff)
downloademacs-7922131bb20ebf5570cf9a7fd96c957677e2a6c2.tar.gz
emacs-7922131bb20ebf5570cf9a7fd96c957677e2a6c2.zip
Minor copyedits in "Symbols with Position"
* doc/lispref/symbols.texi (Symbols with Position): Fix wording and improve indexing.
-rw-r--r--doc/lispref/symbols.texi9
1 files changed, 5 insertions, 4 deletions
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.
754 754
755@node Symbols with Position 755@node Symbols with Position
756@section Symbols with Position 756@section Symbols with Position
757@cindex symbols with position 757@cindex symbol with position
758 758
759@cindex bare symbol
759A @dfn{symbol with position} is a symbol, the @dfn{bare symbol}, 760A @dfn{symbol with position} is a symbol, the @dfn{bare symbol},
760together with an unsigned integer called the @dfn{position}. These 761together with an unsigned integer called the @dfn{position}. These
761objects are intended for use by the byte compiler, which records in 762objects are intended for use by the byte compiler, which records in
@@ -802,12 +803,12 @@ position, @code{nil} otherwise.
802@defun bare-symbol symbol 803@defun bare-symbol symbol
803This function returns the bare symbol contained in @var{symbol}, or 804This function returns the bare symbol contained in @var{symbol}, or
804@var{symbol} itself if it is already a bare symbol. For any other 805@var{symbol} itself if it is already a bare symbol. For any other
805type of object, it throws an error. 806type of object, it signals an error.
806@end defun 807@end defun
807 808
808@defun symbol-with-pos-pos symbol 809@defun symbol-with-pos-pos symbol
809This function returns the position, a number, from a symbol with 810This function returns the position, a number, from a symbol with
810position. For any other type of object, it throws an error. 811position. For any other type of object, it signals an error.
811@end defun 812@end defun
812 813
813@defun position-symbol sym pos 814@defun position-symbol sym pos
@@ -815,5 +816,5 @@ Make a new symbol with position. @var{sym} is either a bare symbol or
815a symbol with position, and supplies the symbol part of the new 816a symbol with position, and supplies the symbol part of the new
816object. @var{pos} is either an integer which becomes the number part 817object. @var{pos} is either an integer which becomes the number part
817of the new object, or a symbol with position whose position is used. 818of the new object, or a symbol with position whose position is used.
818Emacs throws an error if either argument is invalid. 819Emacs signals an error if either argument is invalid.
819@end defun 820@end defun