summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2023-05-03 12:44:42 +0200
committerJonas Bernoulli <jonas@bernoul.li>2023-05-03 12:44:42 +0200
commit83305e6bb5f13d68f8e31d457605b02d2a10c014 (patch)
tree49430b081338f115ead6c259f8f482754900805c /elisp
parentdd81026d1c4bc40e03ced3a6ecc9025b14bdd93d (diff)
downloadgeiser-83305e6bb5f13d68f8e31d457605b02d2a10c014.tar.gz
geiser-83305e6bb5f13d68f8e31d457605b02d2a10c014.tar.bz2
Address byte-compiler warning
Warning: ‘backward-delete-char’ is for interactive use only; use ‘delete-char’ instead.
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-edit.el2
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)