From 5575975b5a4ff774768f48d6b014d62198b1fe47 Mon Sep 17 00:00:00 2001 From: Antero Mejr Date: Fri, 22 Sep 2023 21:00:52 +0000 Subject: Use delete-char instead of delete-backward-char. The bytecode compiler complains because delete-backward-char is an interactive function. --- elisp/geiser-repl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elisp') diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el index a8b7a0a..dfdc26b 100644 --- a/elisp/geiser-repl.el +++ b/elisp/geiser-repl.el @@ -847,7 +847,7 @@ This mode may cause issues with structural editing modes such as paredit." (defun geiser-repl--superparen-function () (when (char-equal (char-before) geiser-repl-superparen-character) - (delete-backward-char 1) + (delete-char -1) (insert-char ?\) (geiser-repl--nesting-level)))) (defvar-local geiser-repl-superparen-mode-string " S" -- cgit v1.2.3