diff options
Diffstat (limited to '.emacs.d/early-init.el')
-rw-r--r-- | .emacs.d/early-init.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index c3d67b50..23f3c6a2 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -5,6 +5,20 @@ ;; Released under the terms of the GNU GPL as published by the FSF; either ;; version 3, or (at your option) any later version. +(when (file-in-directory-p invocation-directory (expand-file-name "~/")) + ;; Make packages compiled against my emacs-snapshot Debian packages + ;; available to in-tree builds too. (Used to do this by patching the code + ;; computing the default value of `package-directory-list' in those builds.) + (when (file-directory-p "/usr/share/emacs-snapshot/site-lisp/elpa") + (add-to-list 'package-directory-list + "/usr/share/emacs-snapshot/site-lisp/elpa" t)) + + ;; Run Debian's site-start library site-run-file for in-tree builds too. + ;; (Used to do this by patching `command-line' in those builds.) + (when (file-readable-p "/etc/emacs/site-start.d/00debian.el") + (load "/etc/emacs/site-start.d/00debian.el"))) + + ;;; Per docstring for `after-make-frame-functions', these additions to that ;;; list of functions are made in this file in order that they can affect the ;;; initial frame. |