From 3fbe6fd367ddb337a25ff261502e2e8dccb69649 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Tue, 12 Oct 2021 16:50:46 +0100 Subject: [PATCH] ; 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. --- doc/lispref/symbols.texi | 12 ++++++------ 1 file 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: @itemize @bullet @item -Symbol forms comprised entirely of symbol and punctuation characters -(@pxref{Syntax Class Table}) are not transformed. For example, -it's possible to use @code{-} or @code{/=} as shorthand prefixes, but -that won't shadow the arithmetic @emph{functions} of those names. +Symbol forms comprised entirely of characters in the Emacs Lisp symbol +constituent class (@pxref{Syntax Class Table}) are not transformed. +For example, it's possible to use @code{-} or @code{/=} as shorthand +prefixes, but that won't shadow the arithmetic @emph{functions} of +those names. @item -Symbol forms whose names start with @samp{#} or @samp{_} are not -transformed. +Symbol forms whose names start with @samp{#_} are not transformed. @end itemize -- 2.39.2