Explorar el Código

emacs.el: add remember-major-modes-mode sexps

pull/1/head
10sr hace 11 años
padre
commit
2a3bf9a2a4
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. +7
    -1
      emacs.el

+ 7
- 1
emacs.el Ver fichero

@@ -683,7 +683,13 @@ found, otherwise returns nil."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; some modes and hooks

;; todo: reg major mode when set explicitly
(and (fetch-library
"https://raw.github.com/10sr/emacs-lisp/master/remember-major-modes-mode.el")
(require 'remember-major-modes-mode nil t)
(remember-major-modes-mode 1)
(add-hook 'after-change-major-mode-hook
'remember-major-modes-remember))


;; Detect file type from shebang and set major-mode.
(add-to-list 'interpreter-mode-alist


Cargando…
Cancelar
Guardar