diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2013-10-01 18:04:13 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2013-10-01 18:04:13 +0200 |
commit | 8cf83b838134a4aa43d122e97a8c23246f1ede51 (patch) | |
tree | 695526d01675a43f2b161c49c9020e3dc4bd0317 /helm-info.el | |
parent | 359ecefa9d7c50d72545a92beb942d9a956b3553 (diff) |
* helm-info.el (helm-info-default-sources): New user var.
Diffstat (limited to 'helm-info.el')
-rw-r--r-- | helm-info.el | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/helm-info.el b/helm-info.el index fe1623bb..034cd1ef 100644 --- a/helm-info.el +++ b/helm-info.el @@ -83,6 +83,14 @@ Where NAME is one of `helm-default-info-index-list'." :type '(repeat (choice string)) :set 'helm-info-index-set) +(defcustom helm-info-default-sources + '(helm-source-info-elisp + helm-source-info-cl + helm-source-info-pages) + "The default sources to use in `helm-info-at-point'." + :group 'helm-info + :type '(repeat (choice symbol))) + ;;; Info pages (defvar helm-info-pages nil @@ -121,10 +129,7 @@ With a prefix-arg insert symbol at point." (interactive) (let ((helm-google-suggest-default-function 'helm-google-suggest-emacs-lisp)) - (helm :sources '(helm-source-info-elisp - helm-source-info-cl - helm-source-info-pages - helm-source-google-suggest) + (helm :sources helm-info-default-sources :buffer "*helm info*"))) (provide 'helm-info) |