diff options
| author | Eli Zaretskii | 2022-01-22 20:47:10 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-01-22 20:47:10 +0200 |
| commit | 7922131bb20ebf5570cf9a7fd96c957677e2a6c2 (patch) | |
| tree | 2fa0f226d971e8c3fa3c6ada66135bcd76f2f282 | |
| parent | df49e3a3ab4cddf1e3c0f5482c7fdd809d8a8884 (diff) | |
| download | emacs-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.texi | 9 |
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 | ||
| 759 | A @dfn{symbol with position} is a symbol, the @dfn{bare symbol}, | 760 | A @dfn{symbol with position} is a symbol, the @dfn{bare symbol}, |
| 760 | together with an unsigned integer called the @dfn{position}. These | 761 | together with an unsigned integer called the @dfn{position}. These |
| 761 | objects are intended for use by the byte compiler, which records in | 762 | objects 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 |
| 803 | This function returns the bare symbol contained in @var{symbol}, or | 804 | This 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 |
| 805 | type of object, it throws an error. | 806 | type 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 |
| 809 | This function returns the position, a number, from a symbol with | 810 | This function returns the position, a number, from a symbol with |
| 810 | position. For any other type of object, it throws an error. | 811 | position. 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 | |||
| 815 | a symbol with position, and supplies the symbol part of the new | 816 | a symbol with position, and supplies the symbol part of the new |
| 816 | object. @var{pos} is either an integer which becomes the number part | 817 | object. @var{pos} is either an integer which becomes the number part |
| 817 | of the new object, or a symbol with position whose position is used. | 818 | of the new object, or a symbol with position whose position is used. |
| 818 | Emacs throws an error if either argument is invalid. | 819 | Emacs signals an error if either argument is invalid. |
| 819 | @end defun | 820 | @end defun |