mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 00:00:39 -08:00
* emacs-lisp/package.el (package-directory-list): Only call file-name-nondirectory on a string.
This commit is contained in:
parent
ebf662f494
commit
0be01d2c86
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
|
||||
|
||||
* emacs-lisp/package.el (package-directory-list): Only call
|
||||
file-name-nondirectory on a string.
|
||||
|
||||
2010-09-02 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* emacs-lisp/package.el (package--download-one-archive): Ensure
|
||||
|
|
|
|||
|
|
@ -260,7 +260,8 @@ packages in `package-directory-list'."
|
|||
;; Defaults are subdirs named "elpa" in the site-lisp dirs.
|
||||
(let (result)
|
||||
(dolist (f load-path)
|
||||
(if (equal (file-name-nondirectory f) "site-lisp")
|
||||
(and (stringp f)
|
||||
(equal (file-name-nondirectory f) "site-lisp")
|
||||
(push (expand-file-name "elpa" f) result)))
|
||||
(nreverse result))
|
||||
"List of additional directories containing Emacs Lisp packages.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue