emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 139bfa1a08: More fixes in abbrev.el doc strings


From: Eli Zaretskii
Subject: emacs-28 139bfa1a08: More fixes in abbrev.el doc strings
Date: Sat, 21 May 2022 14:06:10 -0400 (EDT)

branch: emacs-28
commit 139bfa1a0884dbd2600fc1bd11d11f41d3f9ef94
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    More fixes in abbrev.el doc strings
    
    * lisp/abbrev.el (inverse-add-global-abbrev, inverse-add-mode-abbrev):
    Document the effect of negative ARG.  (Bug#55527)
---
 lisp/abbrev.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index fd8cb754d1..b7216f5d63 100644
--- a/lisp/abbrev.el
+++ b/lisp/abbrev.el
@@ -349,7 +349,7 @@ Don't use this function in a Lisp program; use 
`define-abbrev' instead."
 (defun inverse-add-mode-abbrev (n)
   "Define the word before point as a mode-specific abbreviation.
 With prefix argument N, define the Nth word before point as the
-abbreviation.
+abbreviation.  Negative N means use the Nth word after point.
 
 If `only-global-abbrevs' is non-nil, this command defines a
 global (mode-independent) abbrev instead of a mode-specific one.
@@ -371,7 +371,7 @@ to define an abbrev by specifying the abbreviation in the 
minibuffer."
 (defun inverse-add-global-abbrev (n)
   "Define the word before point as a global (mode-independent) abbreviation.
 With prefix argument N, define the Nth word before point as the
-abbreviation.
+abbreviation.  Negative N means use the Nth word after point.
 
 This command reads the expansion from the minibuffer, defines the
 abbrev, and then expands the abbreviation in the current buffer.



reply via email to

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