branch: externals/cpupower
commit 56406a83b124ee0a366a551f019976a88dc89808
Merge: 40e5ece723 e9127b20a4
Author: smeister <[email protected]>
Commit: smeister <[email protected]>
Merge branch 'testing'
---
cpupower.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/cpupower.el b/cpupower.el
index ad61677a4f..dad432e1d5 100644
--- a/cpupower.el
+++ b/cpupower.el
@@ -218,12 +218,17 @@ message the user with current CPU governors"
governors))
(with-eval-after-load 'helm
+ ;; Not entirely sure I should be doing this function declaring?
+ (declare-function helm "helm")
+ (require 'helm)
(defun cpupower-helm-set-governor ()
"Set cpu governor using helm."
(interactive)
(cpupower-set-governor
- (helm :sources (helm-build-sync-source "cpu-governors"
+ (helm :sources (helm-make-source "cpu-governors" 'helm-source-sync
:candidates (cpupower--get-available-governors))
:buffer "*helm set cpu governor*"))))
(provide 'cpupower)
+
+;;; cpupower.el ends here