From 922cd9d713191cce8cb3307989d6918eebf3c127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Kryger?= Date: Thu, 28 Nov 2024 09:39:04 +0000 Subject: [PATCH] add-to-list --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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