branch: master
commit 64b76c3126b89be2524c982b24c02d93ca6a61ed
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    Fixup compilation warnings related to smex
---
 counsel.el |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/counsel.el b/counsel.el
index 947ac84..03cf94c 100644
--- a/counsel.el
+++ b/counsel.el
@@ -501,6 +501,13 @@ CMD is a command name."
       (format "%s (%s)" cmd
               (propertize binding 'face 'font-lock-keyword-face)))))
 
+(defvar smex-initialized-p)
+(defvar smex-ido-cache)
+(declare-function smex-initialize "ext:smex")
+(declare-function smex-detect-new-commands "ext:smex")
+(declare-function smex-update "ext:smex")
+(declare-function smex-rank "ext:smex")
+
 ;;;###autoload
 (defun counsel-M-x (&optional initial-input)
   "Ivy version of `execute-extended-command'.

Reply via email to