Minor refactors
- Don't aggressively load gnu-elpa-keyring-update, it autoloads itself - Update docstring + comments - scroll-margin = 1
This commit is contained in:
parent
20596cd41f
commit
9bc47ca329
3 changed files with 3 additions and 6 deletions
|
@ -37,7 +37,7 @@ detected.")
|
||||||
hscroll-margin 2
|
hscroll-margin 2
|
||||||
hscroll-step 1
|
hscroll-step 1
|
||||||
scroll-conservatively 1001
|
scroll-conservatively 1001
|
||||||
scroll-margin 2
|
scroll-margin 1
|
||||||
scroll-preserve-screen-position t
|
scroll-preserve-screen-position t
|
||||||
mouse-wheel-scroll-amount '(5 ((shift) . 2))
|
mouse-wheel-scroll-amount '(5 ((shift) . 2))
|
||||||
mouse-wheel-progressive-speed nil ; don't accelerate scrolling
|
mouse-wheel-progressive-speed nil ; don't accelerate scrolling
|
||||||
|
|
|
@ -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.")
|
missing) and shouldn't be deleted.")
|
||||||
|
|
||||||
(defvar doom-disabled-packages ()
|
(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
|
;;; package.el
|
||||||
(setq package--init-file-ensured t
|
(setq package--init-file-ensured t
|
||||||
|
@ -67,9 +67,6 @@ missing) and shouldn't be deleted.")
|
||||||
(dolist (archive package-archives)
|
(dolist (archive package-archives)
|
||||||
(setcdr archive (replace-regexp-in-string "^https://" "http://" (cdr archive) t nil))))
|
(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
|
;;; quelpa
|
||||||
(setq quelpa-dir (expand-file-name "quelpa" doom-packages-dir)
|
(setq quelpa-dir (expand-file-name "quelpa" doom-packages-dir)
|
||||||
quelpa-verbose doom-debug-mode
|
quelpa-verbose doom-debug-mode
|
||||||
|
|
|
@ -196,7 +196,7 @@ Doom was setup, which may cause problems.")
|
||||||
;; Don't store authinfo in plain text!
|
;; Don't store authinfo in plain text!
|
||||||
auth-sources (list (expand-file-name "authinfo.gpg" doom-etc-dir)
|
auth-sources (list (expand-file-name "authinfo.gpg" doom-etc-dir)
|
||||||
"~/.authinfo.gpg")
|
"~/.authinfo.gpg")
|
||||||
;; files
|
;; Don't litter `doom-emacs-dir'
|
||||||
abbrev-file-name (concat doom-local-dir "abbrev.el")
|
abbrev-file-name (concat doom-local-dir "abbrev.el")
|
||||||
async-byte-compile-log-file (concat doom-etc-dir "async-bytecomp.log")
|
async-byte-compile-log-file (concat doom-etc-dir "async-bytecomp.log")
|
||||||
auto-save-list-file-name (concat doom-cache-dir "autosave")
|
auto-save-list-file-name (concat doom-cache-dir "autosave")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue