[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56496: 28.1; add-abbrev should respect active region
From: |
Lars Ingebrigtsen |
Subject: |
bug#56496: 28.1; add-abbrev should respect active region |
Date: |
Mon, 11 Jul 2022 15:34:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Howard Melman <hmelman@gmail.com> writes:
> add-mode-abbrev and add-global-abbrev use the text in the
> buffer as the expansion and then prompt for an abbrev. If
> given a numeric argument it's used as the number of words to
> use as the expansion or if 0 to use the region.
>
> I think it would be nice if these commands respected an
> active region and just used it without having to use a 0 arg.
Yup. I've now fixed this in Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no