summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-07-04 00:00:19 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-07-04 00:00:19 -0700
commit06c2efada2a47fe26bbb68f3c0c3abdc36d1cefa (patch)
tree14c9b1c9e8b12996cdc695a3f75fd731bfcb5bb9 /lisp/startup.el
parent8e54ea40bcab119945229910d244b4ad92314a93 (diff)
downloademacs-06c2efada2a47fe26bbb68f3c0c3abdc36d1cefa.tar.gz
add Debian customisations to startup.el
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index bff10003f84..ced4fb7e7e5 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1230,6 +1230,10 @@ please check its value")
startup-init-directory)))
(setq early-init-file user-init-file)
+ (require 'package)
+ (add-to-list 'package-directory-list
+ "/usr/share/emacs/site-lisp/elpa-src")
+
;; If any package directory exists, initialize the package system.
(and user-init-file
package-enable-at-startup
@@ -1357,7 +1361,8 @@ please check its value")
;; be loaded from site-run-file and wants to test if -q was given
;; should check init-file-user instead, since that is already set.
;; See cus-edit.el for an example.
- (if site-run-file
+ (when site-run-file
+ (load "/etc/emacs/site-start.d/00debian.el")
;; Sites should not disable the startup screen.
;; Only individuals should disable the startup screen.
(let ((inhibit-startup-screen inhibit-startup-screen))