diff options
| author | Stephen Leake | 2015-10-23 08:52:01 -0500 |
|---|---|---|
| committer | Stephen Leake | 2015-10-23 08:54:17 -0500 |
| commit | 4d3a595d8d3e6a111399e9f1c7dd3c3c30184e61 (patch) | |
| tree | b8682cb15c0c71c3f655e89b2bfc4cba51db4a63 /lisp | |
| parent | 0f443a12368d02e256c7e94c3de574c6ceaed86e (diff) | |
| download | emacs-4d3a595d8d3e6a111399e9f1c7dd3c3c30184e61.tar.gz emacs-4d3a595d8d3e6a111399e9f1c7dd3c3c30184e61.zip | |
`load-path' should contain only directory names
* lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
`load-path' should contain only directory names
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emacs-lisp/package.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 2dbcdf64940..2962da5a917 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -889,7 +889,8 @@ untar into a directory named DIR; otherwise, signal an error." | |||
| 889 | " --- automatically extracted autoloads\n" | 889 | " --- automatically extracted autoloads\n" |
| 890 | ";;\n" | 890 | ";;\n" |
| 891 | ";;; Code:\n" | 891 | ";;; Code:\n" |
| 892 | "(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))\n" | 892 | ;; `load-path' should contain only directory names |
| 893 | "(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))\n" | ||
| 893 | "\n;; Local Variables:\n" | 894 | "\n;; Local Variables:\n" |
| 894 | ";; version-control: never\n" | 895 | ";; version-control: never\n" |
| 895 | ";; no-byte-compile: t\n" | 896 | ";; no-byte-compile: t\n" |