init.el - markdown-mode

emacs-init-time to open a session showing (only) the *Messages* buffer -
before - 36.7s
after  - 36.5s
This commit is contained in:
Kashish Sharma 2016-06-13 21:55:41 +05:30
parent b6fd5f49ed
commit c0cf678e92
1 changed files with 3 additions and 3 deletions

View File

@ -274,9 +274,9 @@
(define-key magit-mode-map (kbd "C-n") 'next-line)
(define-key magit-mode-map (kbd "C-p") 'previous-line))
(require 'markdown-mode)
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
(with-eval-after-load 'markdown-mode
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)))
(require 'recentf)
(recentf-mode 1)