summaryrefslogtreecommitdiff
path: root/site-start.el
diff options
context:
space:
mode:
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?\\'"))))