Add c-mode to semantic-inhibit-functions, change add-to-list to setq
This commit is contained in:
parent
73ecbcd2c3
commit
e58e2d72d6
@ -128,8 +128,8 @@
|
||||
semantic-idle-scheduler-idle-time 0.2)
|
||||
|
||||
; inhibit semantic outside of specific modes
|
||||
(add-to-list 'semantic-inhibit-functions
|
||||
#'(lambda () (not (member major-mode '(cc-mode java-mode)))))
|
||||
(setq semantic-inhibit-functions
|
||||
#'(lambda () (not (member major-mode '(c-mode cc-mode java-mode)))))
|
||||
|
||||
(eval-after-load "cc-mode"
|
||||
'(define-key c-mode-map (kbd "M-.") 'semantic-ia-fast-jump)))
|
||||
|
Loading…
Reference in New Issue
Block a user