Mercurial > hg > xemacs-beta
diff lisp/startup.el @ 227:0e522484dd2a r20-5b12
Import from CVS: tag r20-5b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:12:37 +0200 |
parents | d44af0c54775 |
children | 85a06df23a9a |
line wrap: on
line diff
--- a/lisp/startup.el Mon Aug 13 10:11:42 2007 +0200 +++ b/lisp/startup.el Mon Aug 13 10:12:37 2007 +0200 @@ -1217,7 +1217,8 @@ (when site-lisp ;; If the site-lisp dir isn't on the load-path, add it to the end. (or (member site-lisp load-path) - (setq load-path (append load-path (list site-lisp)))) + (setq load-path (append load-path + (list (file-name-as-directory site-lisp))))) ;; Also add any direct subdirectories of the site-lisp directory ;; to the load-path. But don't add dirs whose names begin ;; with dot or hyphen. @@ -1237,7 +1238,8 @@ (when lisp ;; If the lisp dir isn't on the load-path, add it to the end. (or (member lisp load-path) - (setq load-path (append load-path (list lisp)))) + (setq load-path (append load-path + (list (file-name-as-directory lisp))))) ;; Also add any direct subdirectories of the lisp directory ;; to the load-path. But don't add dirs whose names begin ;; with dot or hyphen. @@ -1332,7 +1334,9 @@ lock-directory))))) (set-default-load-path-warning) - (when (and data-directory Info-default-directory-list) + (when (and (null (running-temacs-p)) + data-directory + Info-default-directory-list) (setq data-directory-list (list data-directory)) (packages-find-packages package-path nil))))