emacs-diffs
[Top][All Lists]
Advanced

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

master 1e6a36361d: Document the recent add-global-abbrev change


From: Lars Ingebrigtsen
Subject: master 1e6a36361d: Document the recent add-global-abbrev change
Date: Mon, 11 Jul 2022 09:39:13 -0400 (EDT)

branch: master
commit 1e6a36361d824831107bb95b825c5698a7a07b5f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Document the recent add-global-abbrev change
    
    * doc/emacs/abbrevs.texi (Defining Abbrevs): Document that you can
    use the active region.
---
 doc/emacs/abbrevs.texi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi
index 07f66ec10a..77f40c7df2 100644
--- a/doc/emacs/abbrevs.texi
+++ b/doc/emacs/abbrevs.texi
@@ -106,8 +106,10 @@ taken as the expansion.  For example, to define the abbrev 
@samp{foo} as
 mentioned above, insert the text @samp{find outer otter} and then type
 @kbd{C-u 3 C-x a g f o o @key{RET}}.
 
-  An argument of zero to @kbd{C-x a g} means to use the contents of the
-region as the expansion of the abbrev being defined.
+  If you're using @code{transient-mark-mode} (which is the default),
+the active region will be used as the expansion of the abbrev being
+defined.  If not, an argument of zero to @kbd{C-x a g} means to use
+the contents of the region.
 
 @kindex C-x a l
 @findex add-mode-abbrev



reply via email to

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