With delete-forward-char, it is possible to pass a prefix argument to delete as many characters. For example,
M-4 C-d
would delete 4 characters. Would it be possible that hungry-delete do the same?
As a reference, here is the docstring:
(delete-forward-char N &optional KILLFLAG)
Delete the following N characters (previous if N is negative).
If Transient Mark mode is enabled, the mark is active, and N is 1,
delete the text in the region and deactivate the mark instead.
To disable this, set `delete-active-region' to nil.
Optional second arg KILLFLAG non-nil means to kill (save in kill
ring) instead of delete. Interactively, N is the prefix arg, and
KILLFLAG is set if N was explicitly specified.
With
delete-forward-char
, it is possible to pass a prefix argument to delete as many characters. For example,would delete 4 characters. Would it be possible that hungry-delete do the same?
As a reference, here is the docstring: