diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-28 20:59:39 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-28 20:59:39 -0500 |
| commit | e9e5696bc95d34aad8eb561d7458ac21b06359b0 (patch) | |
| tree | a3a12c66a1774c3d8aa7f66aeadd5e004ecde8d7 /early-init.el | |
| parent | 95d3a96bf150b1349dd73479e2a117b1cf95c6bd (diff) | |
| download | dotemacs-e9e5696bc95d34aad8eb561d7458ac21b06359b0.tar.gz dotemacs-e9e5696bc95d34aad8eb561d7458ac21b06359b0.zip | |
bug fixing, repo changes, etc.
- add font lock studio,
- don't disable Emacs native vc backend functions
- change elpa mirror location
- change default location for localrepo
- update packages
- add constant for journals directory and ensure it exists on launch
- move project file to org-roam
- add remote repository reset to scripts folder
Diffstat (limited to 'early-init.el')
| -rw-r--r-- | early-init.el | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/early-init.el b/early-init.el index bd7ee73a..8fe1a67a 100644 --- a/early-init.el +++ b/early-init.el @@ -35,15 +35,13 @@ ;;; Code: ;; -------------------------------- Debug Flags -------------------------------- -;; debugging enabled during emacs startup. disabled after emacs startup. +;; debugging enabled during Emacs startup. disabled again after Emacs startup. -;; set these values now (setq debug-on-error t) ;; default nil. turn on to debug issues only. (setq debug-on-quit t) ;; debug on C-g (breaking out of hangs/freezes) -;; reset to these values after startup (add-hook 'emacs-startup-hook - (lambda () + (lambda () (setq debug-on-error nil) (setq debug-on-quit nil))) @@ -105,15 +103,20 @@ (defconst user-home-dir (getenv "HOME") "The user's home directory per the environment variable.") -(defconst elpa-mirror-location (concat user-emacs-directory ".elpa-mirrors/") +(defconst elpa-mirror-location "/media/repos/elpa-mirror/" "The path to the elpa mirror location.") +(defconst localrepo-location (concat user-emacs-directory ".localrepo/") + "The path to your local Emacs package repository. +For more information about the local Emacs package repository, see comments in +early-init.el.") + (setq package-archives nil) ;; package-archives will be added below ;; LOCAL REPOSITORY (packages in version control) -(if (file-accessible-directory-p (concat user-emacs-directory "localrepo")) +(if (file-accessible-directory-p localrepo-location) (progn - (add-to-list 'package-archives (cons "localrepo" (concat user-emacs-directory "localrepo/"))t) + (add-to-list 'package-archives (cons "localrepo" localrepo-location) t) (add-to-list 'package-archive-priorities '(("localrepo". 200))))) ;; LOCAL REPOSITORY ELPA MIRRORS |
