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

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

[nongnu] elpa/helm 8c079ea56e: Update before-init-hook and after-init-ho


From: ELPA Syncer
Subject: [nongnu] elpa/helm 8c079ea56e: Update before-init-hook and after-init-hook docstring
Date: Tue, 2 Aug 2022 02:58:40 -0400 (EDT)

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

    Update before-init-hook and after-init-hook docstring
---
 helm-source.el | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/helm-source.el b/helm-source.el
index 6b43823467..26ceba6811 100644
--- a/helm-source.el
+++ b/helm-source.el
@@ -655,9 +655,10 @@
     "  A local hook that run at beginning of initilization of this source.
   i.e Before the creation of `helm-buffer'.
 
-  Should be a variable (defined with defvar).
-  Can be also an anonymous function or a list of functions
-  directly added to slot, this is not recommended though.")
+  Should be a variable (a symbol) bound to a list of
+  functions or a single function (see `run-hooks' documentation).
+  Even better is to use `add-hook' to feed this variable.
+  Can be also an anonymous function, though it is not recommended.")
 
    (after-init-hook
     :initarg :after-init-hook
@@ -666,10 +667,11 @@
     :documentation
     "  A local hook that run at end of initilization of this source.
   i.e After the creation of `helm-buffer'.
-
-  Should be a variable.
-  Can be also an anonymous function or a list of functions
-  directly added to slot, this is not recommended though.")
+  
+  Should be a variable (a symbol) bound to a list of
+  functions or a single function (see `run-hooks' documentation).
+  Even better is to use `add-hook' to feed this variable.
+  Can be also an anonymous function, though it is not recommended.")
 
    (delayed
     :initarg :delayed



reply via email to

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