aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2021-10-12 16:20:47 +0300
committerEli Zaretskii2021-10-12 16:20:47 +0300
commit66b8dfd0602c2175a0296ce6a844d77c94813429 (patch)
treee970782d9697beba52de50adc214d0c24942422a /src
parent3832b983cfbb7163616041e68f5f46d094137e79 (diff)
downloademacs-66b8dfd0602c2175a0296ce6a844d77c94813429.tar.gz
emacs-66b8dfd0602c2175a0296ce6a844d77c94813429.zip
; Fix last change related to shorthands
* src/lread.c (read1): Minor stylistic fixes of the last change, including the wording of the comment. * doc/lispref/symbols.texi (Shorthands): Fix wording and typos.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lread.c b/src/lread.c
index 128b46aefef..b3f9e6ff527 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -3805,12 +3805,13 @@ read1 (Lisp_Object readcharfun, int *pch, bool first_in_list)
3805 ptrdiff_t longhand_bytes = 0; 3805 ptrdiff_t longhand_bytes = 0;
3806 3806
3807 Lisp_Object tem; 3807 Lisp_Object tem;
3808 if (skip_shorthand || 3808 if (skip_shorthand
3809 /* The following ASCII characters are used in the 3809 /* The following ASCII characters are used in the
3810 only "core" Emacs Lisp symbols that are 3810 only "core" Emacs Lisp symbols that are comprised
3811 exclusively comprised of 'symbol constituent' 3811 entirely of characters that have the 'symbol
3812 syntax. */ 3812 constituent' syntax. We exempt them from
3813 strspn(read_buffer, "^*+-/<=>_|") >= nbytes) 3813 transforming according to shorthands. */
3814 || strspn (read_buffer, "^*+-/<=>_|") >= nbytes)
3814 tem = oblookup (obarray, read_buffer, nchars, nbytes); 3815 tem = oblookup (obarray, read_buffer, nchars, nbytes);
3815 else 3816 else
3816 tem = oblookup_considering_shorthand (obarray, read_buffer, 3817 tem = oblookup_considering_shorthand (obarray, read_buffer,