summaryrefslogtreecommitdiff
path: root/helm-info.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-03-15 18:02:33 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-03-15 18:02:33 +0100
commit416e29120f4ac0e07298f813f683ed77d8316a42 (patch)
treebde37a3ef1dbfee9ae65fdd7cd54961e816f8ebf /helm-info.el
parent4c9f04c3942cbc9ebee4c7e81be2e80acfac10b5 (diff)
* helm-info.el (helm-info-at-point): Remove old google stuff.
* helm-bookmark.el: require helm-net here. * helm-external.el: same.
Diffstat (limited to 'helm-info.el')
-rw-r--r--helm-info.el21
1 files changed, 9 insertions, 12 deletions
diff --git a/helm-info.el b/helm-info.el
index f07832ac..bd742204 100644
--- a/helm-info.el
+++ b/helm-info.el
@@ -20,7 +20,6 @@
(require 'cl-lib)
(require 'helm)
(require 'helm-plugin)
-(require 'helm-net)
(declare-function Info-index-nodes "info" (&optional file))
(declare-function Info-goto-node "info" (&optional fork))
@@ -162,23 +161,21 @@ source.")
(setq helm-info-pages topics))))
(defvar helm-source-info-pages
- `((name . "Info Pages")
- (init . helm-info-pages-init)
- (candidates . helm-info-pages)
- (action . (("Show with Info" .(lambda (node-str)
- (info (replace-regexp-in-string
- "^[^:]+: " "" node-str))))))
- (requires-pattern . 2)))
+ (helm-build-sync-source "Info Pages"
+ :init #'helm-info-pages-init
+ :candidates (lambda () helm-info-pages)
+ :action '(("Show with Info" .(lambda (node-str)
+ (info (replace-regexp-in-string
+ "^[^:]+: " "" node-str)))))
+ :requires-pattern 2))
;;;###autoload
(defun helm-info-at-point ()
"Preconfigured `helm' for searching info at point.
With a prefix-arg insert symbol at point."
(interactive)
- (let ((helm-google-suggest-default-function
- 'helm-google-suggest-emacs-lisp))
- (helm :sources helm-info-default-sources
- :buffer "*helm info*")))
+ (helm :sources helm-info-default-sources
+ :buffer "*helm info*"))
(provide 'helm-info)