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

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

[nongnu] elpa/helm e3894ebff9 2/2: Require helm-info from helm.el (#2608


From: ELPA Syncer
Subject: [nongnu] elpa/helm e3894ebff9 2/2: Require helm-info from helm.el (#2608, #2609)
Date: Tue, 1 Aug 2023 13:00:48 -0400 (EDT)

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

    Require helm-info from helm.el (#2608, #2609)
    
    Previous attempt to fix this bug was requiring helm-info from
    helm-global-bindings; This should work as expected, but I suspect some
    external helm package or some init files to require directly
    helm-global-bindings or helm-info without loading other helm files in
    right order.
    
    So let's try to fix this by requiring helm-info from helm.el.
    NOTE: Fixing this blindly as I can't reproduce.
---
 helm-info.el | 4 +---
 helm.el      | 1 +
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/helm-info.el b/helm-info.el
index 54023bfb34..25a808f629 100644
--- a/helm-info.el
+++ b/helm-info.el
@@ -18,9 +18,6 @@
 ;;; Code:
 
 (require 'cl-lib)
-(require 'helm)
-(require 'helm-lib)
-(require 'helm-utils)
 (require 'info)
 
 (declare-function Info-index-nodes "info" (&optional file))
@@ -101,6 +98,7 @@ Argument TOBUF is the `helm-candidate-buffer'."
 
 (defun helm-info-goto (node-line)
   "The helm-info action to jump to NODE-LINE."
+  (require 'helm-utils)
   (let ((alive (buffer-live-p (get-buffer "*info*"))))
     (Info-goto-node (car node-line))
     (when alive (revert-buffer nil t))
diff --git a/helm.el b/helm.el
index 269ece3c86..7d039d9aab 100644
--- a/helm.el
+++ b/helm.el
@@ -36,6 +36,7 @@
 ;;; Code:
 
 (require 'helm-core)
+(require 'helm-info)
 (require 'helm-global-bindings)
 
 (provide 'helm)



reply via email to

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