Minor refactors

- Don't aggressively load gnu-elpa-keyring-update, it autoloads itself
- Update docstring + comments
- scroll-margin = 1
This commit is contained in:
Henrik Lissner 2019-05-13 19:29:38 -04:00
parent 20596cd41f
commit 9bc47ca329
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 3 additions and 6 deletions

View file

@ -37,7 +37,7 @@ detected.")
hscroll-margin 2
hscroll-step 1
scroll-conservatively 1001
scroll-margin 2
scroll-margin 1
scroll-preserve-screen-position t
mouse-wheel-scroll-amount '(5 ((shift) . 2))
mouse-wheel-progressive-speed nil ; don't accelerate scrolling

View file

@ -43,7 +43,7 @@ package's name as a symbol, and whose CDR is the plist supplied to its
missing) and shouldn't be deleted.")
(defvar doom-disabled-packages ()
"A list of packages that should be ignored by `def-package!'.")
"A list of packages that should be ignored by `def-package!' and `after!'.")
;;; package.el
(setq package--init-file-ensured t
@ -67,9 +67,6 @@ missing) and shouldn't be deleted.")
(dolist (archive package-archives)
(setcdr archive (replace-regexp-in-string "^https://" "http://" (cdr archive) t nil))))
;; Ensure ELPA's keys are up-to-date (but should we trust this?)
(require 'gnu-elpa-keyring-update nil t)
;;; quelpa
(setq quelpa-dir (expand-file-name "quelpa" doom-packages-dir)
quelpa-verbose doom-debug-mode

View file

@ -196,7 +196,7 @@ Doom was setup, which may cause problems.")
;; Don't store authinfo in plain text!
auth-sources (list (expand-file-name "authinfo.gpg" doom-etc-dir)
"~/.authinfo.gpg")
;; files
;; Don't litter `doom-emacs-dir'
abbrev-file-name (concat doom-local-dir "abbrev.el")
async-byte-compile-log-file (concat doom-etc-dir "async-bytecomp.log")
auto-save-list-file-name (concat doom-cache-dir "autosave")