[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm f1a0feb278 1/3: Restore helm-delete-backward-no-updat
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/helm f1a0feb278 1/3: Restore helm-delete-backward-no-update to previous version |
|
Date: |
Sun, 5 Nov 2023 03:59:51 -0500 (EST) |
branch: elpa/helm
commit f1a0feb278f094287d4ce2b494dbbe786367c70a
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Restore helm-delete-backward-no-update to previous version
Should use delete-char and update in timer fn.
---
helm-core.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/helm-core.el b/helm-core.el
index 73dec77889..af5f039e54 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -4015,16 +4015,14 @@ Update is reenabled when idle 1s."
(with-helm-alive-p
(unless helm--suspend-update-interactive-flag
(helm-suspend-update 1))
- (helm-delete-char-backward arg)
+ (delete-char (- arg))
(run-with-idle-timer
1 nil
(lambda ()
(unless helm--suspend-update-interactive-flag
(helm-suspend-update -1)
(helm-check-minibuffer-input)
- ;; Already done by helm-delete-char-backward.
- (unless (string= (minibuffer-contents) "")
- (helm-force-update)))))))
+ (helm-force-update))))))
(put 'helm-delete-backward-no-update 'helm-only t)
(defun helm-delete-char-backward (arg)