Skip to content

Commit

Permalink
Avoid backward-delete-char
Browse files Browse the repository at this point in the history
Bleeding edge Emacs starting to warn this is for interactive use only.
Instead use delete-char with negative argument.
  • Loading branch information
greghendershott committed Mar 21, 2023
1 parent 947d980 commit 3d12285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion racket-parens.el
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ This function is a suitable element for the list variable
(insert open)
(backward-char 1)
(forward-sexp 1)
(backward-delete-char 1)
(delete-char -1)
(insert close))
(_
(user-error "Don't know that paren shape")))))
Expand Down

0 comments on commit 3d12285

Please sign in to comment.