emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/site-lisp 88ea6c3e9f 3/5: Ensure the default value of '


From: ELPA Syncer
Subject: [elpa] externals/site-lisp 88ea6c3e9f 3/5: Ensure the default value of 'site-lisp-directory' is a directory
Date: Sun, 26 Mar 2023 08:00:49 -0400 (EDT)

branch: externals/site-lisp
commit 88ea6c3e9fbdf940b22dc5c669b741216c0eedbc
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Ensure the default value of 'site-lisp-directory' is a directory
---
 site-lisp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site-lisp.el b/site-lisp.el
index 5a647af7bb..06e6082db5 100644
--- a/site-lisp.el
+++ b/site-lisp.el
@@ -90,7 +90,7 @@ of the list."
 
 ;;;###autoload
 (defcustom site-lisp-directory
-  (locate-user-emacs-file "site-lisp")
+  (file-name-as-directory (locate-user-emacs-file "site-lisp"))
   "Directory use for site-local Lisp code.
 If this directory doesn't exist, nothing is done."
   :set (lambda (var val)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]