summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2023-10-08 19:21:05 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2023-10-08 19:23:49 +0200
commit1ae2f66ea814d161a2f3176e90358c317e2d86ef (patch)
tree8057a3d5d391fb07a796d0d8f3cd21e90b0c53c3 /.emacs
parent72999c19c9c42b3f8df9dad83cab04c7f25938ea (diff)
downloaddotfiles-1ae2f66ea814d161a2f3176e90358c317e2d86ef.tar.xz
Move generic-x configuration to use-package
That package is unusual in that it requires… requiring it, in order to activate its settings. So it's a good candidate for use-package's :demand t. It's also a good candidate because something changed in Emacs's Lisp pretty-printing code, and now customizing anything changes how this variable is serialized, generating a spurious diff. Can't wait to have completely moved away from that auto-generated form.
Diffstat (limited to '.emacs')
-rw-r--r--.emacs14
1 files changed, 14 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index 93a1a47..a53b1b2 100644
--- a/.emacs
+++ b/.emacs
@@ -734,6 +734,20 @@
(my/list-update erc-track-exclude-types
'("JOIN" "PART" "QUIT"))))
+(use-package generic-x
+ :demand t
+ :custom
+ (generic-extras-enable-list
+ '(etc-fstab-generic-mode
+ etc-modules-conf-generic-mode
+ etc-passwd-generic-mode
+ etc-services-generic-mode
+ etc-sudoers-generic-mode
+ hosts-generic-mode
+ pkginfo-generic-mode
+ resolve-conf-generic-mode
+ x-resource-generic-mode)))
+
(use-package isearch
:delight "🔍"
:custom