This commit is contained in:
Jean-Philippe Bernardy 2015-10-11 22:19:47 +02:00
parent 7b6dce27cd
commit d7ec3cbdf6

View file

@ -154,7 +154,10 @@
(defun boon-minibuf-hook () (defun boon-minibuf-hook ()
"Detect if the minibuffer is a helm minibuffer, and activate boon helm command mode if so." "Detect if the minibuffer is a helm minibuffer, and activate boon helm command mode if so."
(if (and (bound-and-true-p helm--minor-mode) (not (equal (minibuffer-prompt) "M-x "))) (if (and (bound-and-true-p helm--minor-mode)
(not (equal (minibuffer-prompt) "M-x ")
;; another variables to check for special conditions could be helm-map
))
(boon-helm-set-command-state) (boon-helm-set-command-state)
(setq cursor-type 'bar))) (setq cursor-type 'bar)))