summaryrefslogtreecommitdiff
path: root/site-start.el
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:45:08 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:45:08 +0000
commitdd77599e4181fe32df31d53db6da4960033b7d90 (patch)
treeb56cda9073367b16604dbdd66fcd12923a99f441 /site-start.el
parent8ccab69f351d5a80602c5698dc420e18d1a583c8 (diff)
automatic import of emacsopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'site-start.el')
-rw-r--r--site-start.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/site-start.el b/site-start.el
new file mode 100644
index 0000000..efbb75b
--- /dev/null
+++ b/site-start.el
@@ -0,0 +1,9 @@
+;;; loaded before user's ".emacs" file and default.el
+
+;; load *.el and *.elc in /usr/share/emacs/site-lisp/site-start.d on startup
+(mapc
+ 'load
+ (delete-dups
+ (mapcar 'file-name-sans-extension
+ (directory-files
+ "/usr/share/emacs/site-lisp/site-start.d" t "\\.elc?\\'"))))