projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
578d9aa
)
Improve error when installing non-package dirs
author
Noam Postavsky
<npostavs@gmail.com>
Sat, 25 Jun 2016 19:57:39 +0000
(15:57 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Sun, 21 Aug 2016 16:22:18 +0000
(12:22 -0400)
* lisp/emacs-lisp/package.el (package-dir-info): Throw meaningful error
when no file with package info is found (Bug #19851).
lisp/emacs-lisp/package.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index e721b553eaefde8b72847416afa1f7195d84e15c..f669c31e79146484a7dc2f356a8e5f334d178b0f 100644
(file)
--- a/
lisp/emacs-lisp/package.el
+++ b/
lisp/emacs-lisp/package.el
@@
-1081,6
+1081,8
@@
The return result is a `package-desc'."
(setq files nil)
;; set the 'dir kind,
(setf (package-desc-kind info) 'dir))))
+ (unless info
+ (error "No .el files with package headers in `%s'" default-directory))
;; and return the info.
info))))