Emacs: keep custom settings in a seperated file
This commit is contained in:
parent
23b3fcc07d
commit
cb9ba242ab
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@
|
|||
;;
|
||||
;; The code in this block should be package independend.
|
||||
|
||||
;; Keep emacs Custom-settings in separate file
|
||||
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
|
||||
(when (not (file-exists-p custom-file))
|
||||
(with-temp-buffer (write-file custom-file)))
|
||||
(load custom-file)
|
||||
|
||||
;; set name and password
|
||||
(setq user-full-name "Marcel Kapfer")
|
||||
(setq user-mail-address "me@mmk2410.org")
|
||||
|
|
Loading…
Reference in a new issue