Explorar el Código

Update hooks to enable ggtags-mode

master
10sr hace 5 años
padre
commit
d236d8d0ff
Firmado por: 10sr ID de clave GPG: 7BEC428194130EB2
Se han modificado 1 ficheros con 9 adiciones y 3 borrados
  1. +9
    -3
      emacs.el

+ 9
- 3
emacs.el Ver fichero

@@ -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)


Cargando…
Cancelar
Guardar