core.el: refactor settings + move byte-compile-warnings to core-packages.el
This commit is contained in:
parent
b54604b48b
commit
db02e974d7
2 changed files with 17 additions and 15 deletions
|
@ -56,7 +56,10 @@ symbol and cdr is the submodule's name as a symbol.")
|
||||||
quelpa-checkout-melpa-p nil
|
quelpa-checkout-melpa-p nil
|
||||||
quelpa-update-melpa-p nil
|
quelpa-update-melpa-p nil
|
||||||
quelpa-use-package-inhibit-loading-quelpa t
|
quelpa-use-package-inhibit-loading-quelpa t
|
||||||
quelpa-dir (expand-file-name "quelpa" doom-packages-dir))
|
quelpa-dir (expand-file-name "quelpa" doom-packages-dir)
|
||||||
|
;; ssh, no tears. Only compiling.
|
||||||
|
byte-compile-warnings
|
||||||
|
'(unresolved callargs obsolete noruntime cl-functions make-local constants suspicious))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
27
core/core.el
27
core/core.el
|
@ -57,32 +57,31 @@ will be set.")
|
||||||
|
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;; UTF-8 as the default coding system, please
|
;; UTF-8 as the default coding system
|
||||||
(set-charset-priority 'unicode) ; pretty
|
(set-charset-priority 'unicode) ; pretty
|
||||||
(prefer-coding-system 'utf-8) ; pretty
|
(prefer-coding-system 'utf-8) ; pretty
|
||||||
(set-terminal-coding-system 'utf-8) ; pretty
|
(set-terminal-coding-system 'utf-8) ; pretty
|
||||||
(set-keyboard-coding-system 'utf-8) ; perdy
|
(set-keyboard-coding-system 'utf-8) ; pretty
|
||||||
(set-selection-coding-system 'utf-8) ; please
|
(set-selection-coding-system 'utf-8) ; perdy
|
||||||
(setq locale-coding-system 'utf-8) ; with sugar on top
|
(setq locale-coding-system 'utf-8) ; please
|
||||||
(setq-default buffer-file-coding-system 'utf-8)
|
(setq-default buffer-file-coding-system 'utf-8) ; with sugar on top
|
||||||
|
|
||||||
;; Configuration
|
;; Configuration
|
||||||
(setq ad-redefinition-accept 'accept ; silence advised function warnings
|
(setq ad-redefinition-accept 'accept ; silence advised function warnings
|
||||||
apropos-do-all t ; make `apropos' more useful
|
apropos-do-all t ; make `apropos' more useful
|
||||||
byte-compile-warnings nil
|
compilation-always-kill t ; kill compilation process before starting another
|
||||||
compilation-always-kill t
|
compilation-ask-about-save nil ; save all buffers on `compile'
|
||||||
compilation-ask-about-save nil
|
|
||||||
compilation-scroll-output t
|
compilation-scroll-output t
|
||||||
confirm-nonexistent-file-or-buffer t
|
confirm-nonexistent-file-or-buffer t
|
||||||
enable-recursive-minibuffers nil
|
enable-recursive-minibuffers nil
|
||||||
idle-update-delay 5
|
idle-update-delay 1 ; update ui less often
|
||||||
|
;; keep the point out of the minibuffer
|
||||||
minibuffer-prompt-properties '(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt)
|
minibuffer-prompt-properties '(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt)
|
||||||
save-interprogram-paste-before-kill nil)
|
|
||||||
|
|
||||||
;; History & backup settings
|
;; History & backup settings
|
||||||
(setq auto-save-default nil
|
auto-save-default nil
|
||||||
auto-save-list-file-name (concat doom-temp-dir "/autosave")
|
auto-save-list-file-name (concat doom-cache-dir "/autosave")
|
||||||
backup-directory-alist (list (cons ".*" (concat doom-temp-dir "/backup/")))
|
backup-directory-alist (list (cons ".*" (concat doom-cache-dir "/backup/")))
|
||||||
create-lockfiles nil
|
create-lockfiles nil
|
||||||
history-length 1000
|
history-length 1000
|
||||||
make-backup-files nil
|
make-backup-files nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue