emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 39eb7ed 38/90: counsel.el (counsel-M-x): Call smex-initial


From: Oleh Krehel
Subject: [elpa] master 39eb7ed 38/90: counsel.el (counsel-M-x): Call smex-initialize
Date: Tue, 30 Jun 2015 07:28:21 +0000

branch: master
commit 39eb7ed062f5fc9a81a7a680ba143ad32abfcd62
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel-M-x): Call smex-initialize
    
    Otherwise, smex-cache isn't defined.
---
 counsel.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/counsel.el b/counsel.el
index 5717b21..a2657b9 100644
--- a/counsel.el
+++ b/counsel.el
@@ -518,6 +518,8 @@ Optional INITIAL-INPUT is the initial input in the 
minibuffer."
     (when (or (featurep 'smex)
               (package-installed-p 'smex))
       (require 'smex)
+      (unless smex-initialized-p
+        (smex-initialize))
       (smex-detect-new-commands)
       (smex-update)
       (setq cands smex-ido-cache)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]