emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/helm 1a7bf27529 2/2: Use `helm-hide-minibuffer-maybe` by d


From: ELPA Syncer
Subject: [nongnu] elpa/helm 1a7bf27529 2/2: Use `helm-hide-minibuffer-maybe` by default (#2579)
Date: Wed, 28 Dec 2022 02:59:05 -0500 (EST)

branch: elpa/helm
commit 1a7bf27529624a1924b791244539a018641613f5
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Use `helm-hide-minibuffer-maybe` by default (#2579)
    
    in `helm-minibuffer-set-up-hook`.
---
 helm-core.el | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/helm-core.el b/helm-core.el
index 0edf97a0b6..b33562a0a9 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -1325,18 +1325,12 @@ It is either a string or a list of two string arguments 
where the
 first string is the name and the second string is displayed in
 the mode-line. When nil, it defaults to `mode-line-format'.")
 
-(defvar helm-minibuffer-set-up-hook nil
+(defvar helm-minibuffer-set-up-hook '(helm-hide-minibuffer-maybe)
   "Hook that runs at minibuffer initialization.
 A hook useful for modifying minibuffer settings in Helm.
 
-An example that hides the minibuffer when using
-`helm-echo-input-in-header-line':
-
-      (add-hook \\='helm-minibuffer-set-up-hook #'helm-hide-minibuffer-maybe)
-
-Note that we check `helm-echo-input-in-header-line' value
-from `helm-buffer' which allows detecting possible local
-value of this var.")
+Uses `helm-hide-minibuffer-maybe' by default which hide minibuffer contents 
with
+header-line contents when `helm-echo-input-in-header-line' is non nil.")
 
 (defvar helm-help-message
   "* Helm Generic Help



reply via email to

[Prev in Thread] Current Thread [Next in Thread]