From: João Távora Date: Tue, 12 Oct 2021 15:50:46 +0000 (+0100) Subject: ; Fix mistakes in last doc rewording about shorthands X-Git-Tag: emacs-28.0.90~308 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3fbe6fd367ddb337a25ff261502e2e8dccb69649;p=emacs.git ; 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. --- 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