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

~/.emacs.d: make the initial buffer a text buffer

e.g. (try to) write more.

thanks, internet: http://emacsredux.com/blog/2014/07/25/configure-the-scratch-buffers-mode/
Lucas Stadler лет назад: 11
Родитель
Сommit
aa4e4031a7
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      .emacs.d/init.el

+ 3 - 0
.emacs.d/init.el

1
; Mhh, let's see where this goes. (I hope I don't grow a beard.)
1
; Mhh, let's see where this goes. (I hope I don't grow a beard.)
2
(load "~/.emacs.d/better-defaults")
2
(load "~/.emacs.d/better-defaults")
3
3
4
(setq initial-major-mode 'text-mode)
5
(setq initial-scratch-message "<3")
6
4
(setq auto-save-file-name-transforms
7
(setq auto-save-file-name-transforms
5
      `((".*" ,(concat user-emacs-directory "backups"))))
8
      `((".*" ,(concat user-emacs-directory "backups"))))
6
9