Sfoglia il codice sorgente

Update hooks to enable ggtags-mode

master
10sr 5 anni fa
parent
commit
d236d8d0ff
Firmato da: 10sr ID Chiave GPG: 7BEC428194130EB2
1 ha cambiato i file con 9 aggiunte e 3 eliminazioni
  1. +9
    -3
      emacs.el

+ 9
- 3
emacs.el Vedi File

@@ -1157,9 +1157,15 @@ found, otherwise returns nil."
(global-aggressive-indent-mode 1))

(when (fboundp 'ggtags-mode)
;; TODO: Do not use for emacs-lisp-mode
(add-hook 'prog-mode-hook
'ggtags-mode))
(add-hook 'c-mode-common-hook
'ggtags-mode)
(add-hook 'python-mode-hook
'ggtags-mode)
(add-hook 'js-mode-hook
'ggtags-mode)
(add-hook 'scheme-mode-hook
'ggtags-mode)
)

(when (autoload-eval-lazily 'imenu-list)
;; (set-variable 'imenu-list-auto-resize t)


Caricamento…
Annulla
Salva