aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2022-05-21 21:04:40 +0300
committerEli Zaretskii2022-05-21 21:04:40 +0300
commit139bfa1a0884dbd2600fc1bd11d11f41d3f9ef94 (patch)
tree44534745401cd0bc61c70b18b5a4506a83c02052
parentd80dea6036701916c710fde77d1c491dcb804264 (diff)
downloademacs-139bfa1a0884dbd2600fc1bd11d11f41d3f9ef94.tar.gz
emacs-139bfa1a0884dbd2600fc1bd11d11f41d3f9ef94.zip
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)
-rw-r--r--lisp/abbrev.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index fd8cb754d17..b7216f5d633 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."
349(defun inverse-add-mode-abbrev (n) 349(defun inverse-add-mode-abbrev (n)
350 "Define the word before point as a mode-specific abbreviation. 350 "Define the word before point as a mode-specific abbreviation.
351With prefix argument N, define the Nth word before point as the 351With prefix argument N, define the Nth word before point as the
352abbreviation. 352abbreviation. Negative N means use the Nth word after point.
353 353
354If `only-global-abbrevs' is non-nil, this command defines a 354If `only-global-abbrevs' is non-nil, this command defines a
355global (mode-independent) abbrev instead of a mode-specific one. 355global (mode-independent) abbrev instead of a mode-specific one.
@@ -371,7 +371,7 @@ to define an abbrev by specifying the abbreviation in the minibuffer."
371(defun inverse-add-global-abbrev (n) 371(defun inverse-add-global-abbrev (n)
372 "Define the word before point as a global (mode-independent) abbreviation. 372 "Define the word before point as a global (mode-independent) abbreviation.
373With prefix argument N, define the Nth word before point as the 373With prefix argument N, define the Nth word before point as the
374abbreviation. 374abbreviation. Negative N means use the Nth word after point.
375 375
376This command reads the expansion from the minibuffer, defines the 376This command reads the expansion from the minibuffer, defines the
377abbrev, and then expands the abbreviation in the current buffer. 377abbrev, and then expands the abbreviation in the current buffer.