summaryrefslogtreecommitdiff
path: root/site-start.el
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 01:57:42 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 01:57:42 +0000
commita172203aafb28686396fd736a324bfe74e2af446 (patch)
treeb56cda9073367b16604dbdd66fcd12923a99f441 /site-start.el
parentdfe2c51103d085171131eaadb7ae2a9686ea929c (diff)
automatic import of emacsopeneuler24.03_LTS
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?\\'"))))