emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 3fbe6fd: ; Fix mistakes in last doc rewording about shorthands


From: João Távora
Subject: emacs-28 3fbe6fd: ; Fix mistakes in last doc rewording about shorthands
Date: Tue, 12 Oct 2021 11:58:15 -0400 (EDT)

branch: emacs-28
commit 3fbe6fd367ddb337a25ff261502e2e8dccb69649
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    ; 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 32590d4..b30a169 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]