Skip to content

Commit

Permalink
Merge pull request #17 from kidd/fix/emacs28
Browse files Browse the repository at this point in the history
Fix for latest emacs master
  • Loading branch information
plexus committed May 12, 2021
2 parents 30a20db + b2df890 commit 99b0589
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chemacs.el
Expand Up @@ -142,6 +142,7 @@
(defun chemacs-load-user-init ()
(when (chemacs-profile-get 'straight-p) (chemacs-load-straight))
(let ((init-file (expand-file-name "init.el" user-emacs-directory)))
(setq package-user-dir (expand-file-name "elpa" user-emacs-directory))
(load init-file t t)
;; Prevent customize from changing ~/.emacs (this file), but if
;; init.el has set a value for custom-file then don't touch it.
Expand Down

0 comments on commit 99b0589

Please sign in to comment.