bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21275: 24.5; Selection deleted with electric pair mode in cc mode


From: Stefan Monnier
Subject: bug#21275: 24.5; Selection deleted with electric pair mode in cc mode
Date: Fri, 21 Aug 2015 09:42:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> My point is that this workaround for electric-pair should have an
> "electric-pair" name, not a "delete-selection" name.  It is not something
> used by delete-selection.

No.  It's a feature of delete-selection (in the form of a hook).
Look at the code: it doesn't say anything about electric-pair.
This feature was added for electric-pair, indeed, but it's a feature of
delete-selection.

elec-pair.el has the other half of code (added to delete-selection's
hook), using the proper prefix.


        Stefan





reply via email to

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