Browse Source

Add custom-file config

master
10sr 4 years ago
parent
commit
12e8b4c13a
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el View File

@@ -15,6 +15,11 @@
(unless (file-directory-p (expand-file-name user-emacs-directory)) (unless (file-directory-p (expand-file-name user-emacs-directory))
(make-directory (expand-file-name user-emacs-directory))) (make-directory (expand-file-name user-emacs-directory)))


;; Custom file
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(when (file-readable-p custom-file)
(load custom-file))

(require 'cl-lib) (require 'cl-lib)
(require 'simple) (require 'simple)




Loading…
Cancel
Save