diff --git a/.emacs.d/init.el b/.emacs.d/init.el index b111fae..1f1bae2 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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)))