]> code.delx.au - gnu-emacs-elpa/blobdiff - counsel.el
Ease production of functions like ivy-format-function-default
[gnu-emacs-elpa] / counsel.el
index 549149572a519a39726f4000aefd59e8b749d259..0ced4b90269d873a9d41e546b20526a1822e1449 100644 (file)
@@ -833,8 +833,8 @@ CAND-PAIR is (command-name . extra-info)."
         cand-pair
       (cons command-name
             (if extra-info
-                (format "%s (%s)" extra-info (propertize binding 'face 'font-lock-keyword-face))
-              (format "(%s)" (propertize binding 'face 'font-lock-keyword-face)))))))
+                (format " %s (%s)" extra-info (propertize binding 'face 'font-lock-keyword-face))
+              (format " (%s)" (propertize binding 'face 'font-lock-keyword-face)))))))
 
 (defvar smex-initialized-p)
 (defvar smex-ido-cache)