diff --git a/init.el b/init.el index ccdd3722..84c47a3c 100644 --- a/init.el +++ b/init.el @@ -201,7 +201,7 @@ Set to stable melpa.org if you want stable.") (unless (or (member (file-name-as-directory pkg-dir) load-path) (member (directory-file-name pkg-dir) load-path)) (message "*** Adding: %s" pkg-dir) - (push pkg-dir load-path)))) + (add-to-list 'load-path pkg-dir)))) (cond ((fboundp 'package--reload-previously-loaded) ;; Since Emacs-29 (advice-add 'package--reload-previously-loaded