branch: externals/site-lisp
commit 88ea6c3e9fbdf940b22dc5c669b741216c0eedbc
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>
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)