diff options
Diffstat (limited to '.emacs')
| -rw-r--r-- | .emacs | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -16,6 +16,16 @@ (setq custom-file "~/.emacs-custom.el") (load custom-file) +;; Some list variables I don't set via Custom. I can't tell Custom +;; "add this element, take those two away": I need to "set in stone" +;; an exhaustive list that will make me (1) scratch my head a few +;; months later when I try to remember which of those items I added, +;; and which were part of the default list (2) miss out on additions +;; to the default list, unless I cautiously audit every release. +;; +;; Examples: erc-modules, git-commit-setup-hook, package-archives. +(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) + (when (>= emacs-major-version 28) (setq modus-themes-bold-constructs t modus-themes-deuteranopia t @@ -319,8 +329,6 @@ (add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh) (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh) -;; Don't use Customize here, since that would set the variable's value -;; in stone, and I would miss out on future updates by Magit. (add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell) (setq magit-process-finish-apply-ansi-colors t) |
