Skip to content

Commit

Permalink
Fix byte-compilation warning in Emacs 30.0.91
Browse files Browse the repository at this point in the history
The error complains about backward-delete-char being used
non-interactively, but here we really do want the interactive version of
backward-delete-char. This change makes that explicit.
  • Loading branch information
szermatt committed Sep 13, 2024
1 parent 2ea278b commit 003b21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mistty.el
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ If N is unset, send DEL once. If N is negative, send Control d
that many times instead."
(interactive "p")
(if mistty--inhibit
(backward-delete-char n)
(call-interactively 'backward-delete-char)
(if (and (numberp n) (< n 0))
(mistty-send-key (abs n) "\C-d" 'positional)
(mistty-send-key n "\x7f" 'positional))))
Expand Down

0 comments on commit 003b21f

Please sign in to comment.