diff options
author | Antero Mejr <antero@mailbox.org> | 2023-09-22 21:00:52 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2023-09-23 01:21:39 +0100 |
commit | 5575975b5a4ff774768f48d6b014d62198b1fe47 (patch) | |
tree | f0efb97dc63de18283b9eecfb5161dee06046bef | |
parent | 6d106be16772e777c5bbb2c22750a344a21ff116 (diff) | |
download | geiser-5575975b5a4ff774768f48d6b014d62198b1fe47.tar.gz geiser-5575975b5a4ff774768f48d6b014d62198b1fe47.tar.bz2 |
Use delete-char instead of delete-backward-char.
The bytecode compiler complains because delete-backward-char is an interactive
function.
-rw-r--r-- | elisp/geiser-repl.el | 2 |
1 files changed, 1 insertions, 1 deletions
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" |