aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2021-10-12 16:50:46 +0100
committerJoão Távora2021-10-12 16:58:01 +0100
commit3fbe6fd367ddb337a25ff261502e2e8dccb69649 (patch)
treee70ac4b2c242019474ea7647cf082b4553b15550
parent66b8dfd0602c2175a0296ce6a844d77c94813429 (diff)
downloademacs-3fbe6fd367ddb337a25ff261502e2e8dccb69649.tar.gz
emacs-3fbe6fd367ddb337a25ff261502e2e8dccb69649.zip
; Fix mistakes in last doc rewording about shorthands
bug#51089 1. The 'punctuation' syntax class is actually empty in Emacs Lisp. The class used in the implementation is 'symbol constituents'; 2) The prefix to escape shorthands is '#_' together, not '#' or '_'. * doc/lispref/symbols.texi (Shorthands): Fix exception.
-rw-r--r--doc/lispref/symbols.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lispref/symbols.texi b/doc/lispref/symbols.texi
index 32590d4f99e..b30a16927ec 100644
--- a/doc/lispref/symbols.texi
+++ b/doc/lispref/symbols.texi
@@ -742,12 +742,12 @@ There are two exceptions to rules governing Shorthand transformations:
742 742
743@itemize @bullet 743@itemize @bullet
744@item 744@item
745Symbol forms comprised entirely of symbol and punctuation characters 745Symbol forms comprised entirely of characters in the Emacs Lisp symbol
746(@pxref{Syntax Class Table}) are not transformed. For example, 746constituent class (@pxref{Syntax Class Table}) are not transformed.
747it's possible to use @code{-} or @code{/=} as shorthand prefixes, but 747For example, it's possible to use @code{-} or @code{/=} as shorthand
748that won't shadow the arithmetic @emph{functions} of those names. 748prefixes, but that won't shadow the arithmetic @emph{functions} of
749those names.
749 750
750@item 751@item
751Symbol forms whose names start with @samp{#} or @samp{_} are not 752Symbol forms whose names start with @samp{#_} are not transformed.
752transformed.
753@end itemize 753@end itemize