summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-05 04:41:33 +0300
committerThanos Apollo <[email protected]>2023-10-05 04:43:19 +0300
commita2d78d0e144f06eaeb5a62cbb1591093fbef0e07 (patch)
tree63a92b4b9eb74662ec40ac6d2b0da210186dfc27
parent576b52473f346bbae61178e309a1134e04c61124 (diff)
[fix] Use delete-char instead of backward-delete-char
-rw-r--r--yeetube-buffer.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/yeetube-buffer.el b/yeetube-buffer.el
index f54d9d3..0042fcc 100644
--- a/yeetube-buffer.el
+++ b/yeetube-buffer.el
@@ -205,8 +205,7 @@ Emojis cause formatting issues, this should be off by default."
"nil"))
(yeetube-buffer--format-channel channel-name)
"\n")))
- (let ((delete-active-region nil))
- (backward-delete-char 1 nil))
+ (delete-char -1)
(goto-char (point-min))))
(provide 'yeetube-buffer)