浏览代码

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

pull/1/head
10sr 11 年前
父节点
当前提交
2a3bf9a2a4
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. +7
    -1
      emacs.el

+ 7
- 1
emacs.el 查看文件

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


正在加载...
取消
保存