nflath / hungry-delete

Enables hungry deletion in all modes.
98 stars 16 forks source link

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

Closed vonavi closed 10 years ago

vonavi commented 11 years ago

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.

nflath commented 10 years ago

Fixed now!