From 1ae2f66ea814d161a2f3176e90358c317e2d86ef Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 8 Oct 2023 19:21:05 +0200 Subject: Move generic-x configuration to use-package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .emacs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.emacs') 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 -- cgit v1.2.3