Refactor add-hook! and associate!; associate! only for minor modes now
This commit is contained in:
parent
ea8ed1f997
commit
c037c325a1
4 changed files with 75 additions and 47 deletions
|
@ -60,7 +60,7 @@
|
|||
:preface
|
||||
(defvar nose-mode-map (make-sparse-keymap))
|
||||
:init
|
||||
(associate! nose-mode :match "/test_.+\\.py$" :in (python-mode))
|
||||
(associate! nose-mode :match "/test_.+\\.py$" :modes (python-mode))
|
||||
:config
|
||||
(set! :popup "*nosetests*" :size 0.4 :noselect t)
|
||||
(set! :yas-minor-mode 'nose-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue