summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-11-16 18:04:38 +0100
committerUlrich Müller <ulm@gentoo.org>2024-11-16 18:39:50 +0100
commit3eef0d89a54bfd6138c8724041d67f9e1905b561 (patch)
tree8751d351f65252df895f0d2f5b9fb1c974c726f1 /app-emacs
parentapp-emacs/nxml-svg-schemas: Use feature instead of filename in site-init (diff)
downloadgentoo-3eef0d89a54bfd6138c8724041d67f9e1905b561.tar.gz
gentoo-3eef0d89a54bfd6138c8724041d67f9e1905b561.tar.bz2
gentoo-3eef0d89a54bfd6138c8724041d67f9e1905b561.zip
app-emacs/actionscript-mode: Use feature instead of filename in site-init
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/actionscript-mode/files/50actionscript-mode-gentoo.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-emacs/actionscript-mode/files/50actionscript-mode-gentoo.el b/app-emacs/actionscript-mode/files/50actionscript-mode-gentoo.el
index 9bbcc97ed522..15c1aa9352c8 100644
--- a/app-emacs/actionscript-mode/files/50actionscript-mode-gentoo.el
+++ b/app-emacs/actionscript-mode/files/50actionscript-mode-gentoo.el
@@ -2,4 +2,5 @@
(autoload 'actionscript-mode "actionscript-mode"
"Major mode for editing Actionscript files." t)
(add-to-list 'auto-mode-alist '("\\.as\\'" . actionscript-mode))
-(with-eval-after-load "actionscript-mode" (load "actionscript-config"))
+;; we cannot use require because the file doesn't provide the feature
+(with-eval-after-load 'actionscript-mode (load "actionscript-config"))