mirror of
https://github.com/vale981/boon
synced 2025-03-05 09:31:43 -05:00
comment
This commit is contained in:
parent
7b6dce27cd
commit
d7ec3cbdf6
1 changed files with 4 additions and 1 deletions
|
@ -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)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue