summaryrefslogtreecommitdiff
path: root/site-start.el
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-02 05:08:08 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-02 05:08:08 +0000
commit7346ce8c248bc4bcdd7ebc21e7ff66f959d83942 (patch)
tree0cac8f682d91e2997e998c47492462f86e19e011 /site-start.el
parentd610ee73405747b67cb094b0ec2f011e7a1d6e22 (diff)
automatic import of emacs
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?\\'"))))