Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0be01d2c
Commit
0be01d2c
authored
Sep 04, 2010
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* emacs-lisp/package.el (package-directory-list): Only call file-name-nondirectory on a string.
parent
ebf662f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+3
-2
No files found.
lisp/ChangeLog
View file @
0be01d2c
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
...
...
lisp/emacs-lisp/package.el
View file @
0be01d2c
...
...
@@ -260,8 +260,9 @@ 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"
)
(
push
(
expand-file-name
"elpa"
f
)
result
)))
(
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.
Each directory name should be absolute.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment