Move custom variables to their own file
This commit is contained in:
parent
001d7dd71e
commit
1a1399a905
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
auto-save-list
|
||||
bookmarks
|
||||
elpa
|
||||
elpa
|
||||
custom.el
|
||||
|
11
init.el
11
init.el
@ -13,6 +13,11 @@
|
||||
|
||||
(let ((gc-cons-threshold most-positive-fixnum))
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Change file in which custom variable changes are saved.
|
||||
;; --------------------------------------------------------------------------
|
||||
(setq custom-file "~/.emacs.d/custom.el")
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Visual configuration.
|
||||
;; --------------------------------------------------------------------------
|
||||
@ -147,4 +152,10 @@
|
||||
(setq-default max-specpdl-size 20000) ;; ~15x original value
|
||||
(setq-default max-lisp-eval-depth 24000) ;; 30x orignal value
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Load any custom variables.
|
||||
;; --------------------------------------------------------------------------
|
||||
(when (file-exists-p custom-file)
|
||||
(load custom-file))
|
||||
|
||||
) ;; Reset garbage collection settings.
|
||||
|
Reference in New Issue
Block a user