]> git.eshelyaron.com Git - emacs.git/commit
Make add-mode-abbrev use the active region
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Jul 2022 13:34:07 +0000 (15:34 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Jul 2022 13:34:15 +0000 (15:34 +0200)
commitce31339c8369f6d16d5a7b1e8769670891c57f97
treeeb755313928d0566532d8a9fac8c3579eeb80670
parentb3fd71ed10139ca37b78234def000b76dfb95516
Make add-mode-abbrev use the active region

* lisp/abbrev.el (add-mode-abbrev, add-global-abbrev): Document it.
(add-abbrev): If there's an active region, use that as the
expansion (bug#56496).
lisp/abbrev.el