Emacs: more documentation
This commit is contained in:
parent
a13b191582
commit
e242d3500a
1 changed files with 5 additions and 0 deletions
|
@ -35,9 +35,14 @@
|
||||||
;; The code in this block should be package independend.
|
;; The code in this block should be package independend.
|
||||||
|
|
||||||
;; Keep emacs Custom-settings in separate file
|
;; Keep emacs Custom-settings in separate file
|
||||||
|
;; set the file path
|
||||||
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
|
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
|
||||||
|
|
||||||
|
;; create the file if not existent
|
||||||
(when (not (file-exists-p custom-file))
|
(when (not (file-exists-p custom-file))
|
||||||
(with-temp-buffer (write-file custom-file)))
|
(with-temp-buffer (write-file custom-file)))
|
||||||
|
|
||||||
|
;; finally load it
|
||||||
(load custom-file)
|
(load custom-file)
|
||||||
|
|
||||||
;; set name and password
|
;; set name and password
|
||||||
|
|
Loading…
Reference in a new issue