diff options
author | Jonas Bernoulli <jonas@bernoul.li> | 2023-05-03 12:44:42 +0200 |
---|---|---|
committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-05-03 12:44:42 +0200 |
commit | 83305e6bb5f13d68f8e31d457605b02d2a10c014 (patch) | |
tree | 49430b081338f115ead6c259f8f482754900805c | |
parent | dd81026d1c4bc40e03ced3a6ecc9025b14bdd93d (diff) | |
download | geiser-83305e6bb5f13d68f8e31d457605b02d2a10c014.tar.gz geiser-83305e6bb5f13d68f8e31d457605b02d2a10c014.tar.bz2 |
Address byte-compiler warning
Warning: ‘backward-delete-char’ is for interactive use only;
use ‘delete-char’ instead.
-rw-r--r-- | elisp/geiser-edit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el index 3cafaa0..fbe625f 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -323,7 +323,7 @@ positive values and backward for negative." (let ((p (point)) (round (looking-at-p "("))) (forward-sexp) - (backward-delete-char 1) + (delete-char -1) (insert (if round "]" ")")) (goto-char p) (delete-char 1) |