summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-11-16 13:56:37 +0100
committerUlrich Müller <ulm@gentoo.org>2024-11-16 13:59:01 +0100
commit5f9b43c98f7bfda1a19b86937b25a735027ef3cf (patch)
tree2d5449045a0f6f7a3be24acb0e4a29fa91a18ace /app-emacs/nxml-gentoo-schemas
parentapp-emacs/nxml-gentoo-schemas: add 20241116, drop 20241112 (diff)
downloadgentoo-5f9b43c98f7bfda1a19b86937b25a735027ef3cf.tar.gz
gentoo-5f9b43c98f7bfda1a19b86937b25a735027ef3cf.tar.bz2
gentoo-5f9b43c98f7bfda1a19b86937b25a735027ef3cf.zip
app-emacs/nxml-gentoo-schemas: Use with-eval-after-load
Instead of eval-after-load. This is recommended since Emacs 24. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/nxml-gentoo-schemas')
-rw-r--r--app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el b/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
index c574746e6576..820ca359840a 100644
--- a/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
+++ b/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
@@ -1,5 +1,5 @@
;; This must be executed after rng-schema-locating-files
;; is set in rng-loc (which is part of nxml-mode).
-(eval-after-load "rng-loc"
- '(add-to-list 'rng-schema-locating-files
- "@SITEETC@/schemas.xml"))
+(with-eval-after-load "rng-loc"
+ (add-to-list 'rng-schema-locating-files
+ "@SITEETC@/schemas.xml"))