Просмотр исходного кода

Syntax is highlighted correctly when opened without symlink

Josh Bicking 8 лет назад
Родитель
Сommit
bbf46b7d1a
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      emacs

+ 3 - 0
emacs

@@ -20,6 +20,9 @@
 (savehist-mode 1)
 (setq savehist-additional-variables '(kill-ring search-ring regexp-search-ring))
 
+;; Auto-enable elisp when opening .emacs in dotfiles (without the .)
+(add-to-list 'auto-mode-alist '("emacs" . emacs-lisp-mode))
+
 ;;;; Packages
 
 ;; Package installation