nflath/hungry-delete

Pressing DEL key doesn't invoke `hungry-delete-forward' in Emacs 24

Closed this issue · 1 comments

Hi Nathaniel!

DEL key doesn't invoke `hungry-delete-forward' in Emacs 24 due to changes done in Emacs 24. Particularly, the following changes broke Hungry mode's behavior:

** Deletion changes

*** New option delete-active-region.
If non-nil, [delete] and DEL delete the region if it is active and no
prefix argument is given. If set to kill, those commands kill
instead.

*** New command delete-forward-char, bound to [delete].
This is meant for interactive use, and obeys delete-active-region.
The command delete-char' does not obeydelete-active-region`.

*** delete-backward-char is now a Lisp function.
Apart from obeying delete-active-region, its behavior is unchanged.
However, the byte compiler now warns if it is called from Lisp; Lisp
callers should use delete-char with a negative argument instead.

Best regards, Vladimir.

Fixed now!