Emacs: more documentation

This commit is contained in:
Marcel Kapfer 2018-02-23 09:31:48 +01:00
parent a13b191582
commit e242d3500a
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -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