branch: elpa/helm
commit d619f193002901863979825fb4537cf7299521e8
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Don't call helm--update-header-line in HFF
    
    it is already called in post-command-hook.
---
 helm-core.el  | 4 ++--
 helm-files.el | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/helm-core.el b/helm-core.el
index 0d5980e40ff..48d0695c48f 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -6088,8 +6088,8 @@ This is a toggle command."
 (put 'helm-exchange-minibuffer-and-header-line 'helm-only t)
 
 (defun helm--update-header-line ()
-  ;; This should be used in `post-command-hook',
-  ;; nowhere else.
+  ;; This is already called in `post-command-hook',
+  ;; so it should not be called elsewhere.
   (when (with-helm-buffer helm-echo-input-in-header-line)
     (helm--set-header-line t)))
 
diff --git a/helm-files.el b/helm-files.el
index 7c47e6243c1..38c8dc31126 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -2607,8 +2607,7 @@ at end of pattern using \\<helm-map>\\[backward-char] and
       (setq helm-ff--deleting-char-backward t)
       (call-interactively
        (lookup-key (current-global-map)
-                   (read-kbd-macro "DEL")))
-      (helm--update-header-line))))
+                   (read-kbd-macro "DEL"))))))
 (put 'helm-ff-delete-char-backward 'helm-only t)
 
 (defun helm-ff-delete-char-backward--exit-fn ()

Reply via email to