branch: externals/ivy-hydra
commit 6a902b5cbd614c5e8e25a6bf9952ca529784db2d
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
counsel.el (string-trim-left): Add declare-function
---
counsel.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/counsel.el b/counsel.el
index 348c514..f78825f 100644
--- a/counsel.el
+++ b/counsel.el
@@ -882,6 +882,8 @@ packages are, in order of precedence, `amx' and `smex'."
(defvar counsel-M-x-history nil
"History for `counsel-M-x'.")
+(declare-function string-trim-left "subr-x")
+
(defun counsel-M-x-action (cmd)
"Execute CMD."
(setq cmd (intern (string-trim-left cmd "\\^")))