diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-14 13:20:07 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-14 13:20:07 -0200 |
commit | 93d710e045ac5877c3e8fe5aa217818f06623a3a (patch) | |
tree | 469b481c203a15d08ddfcbeaf5c0bda5643810ea | |
parent | 44d3f7dd079c150d2b484cf804f86ea6cc00f524 (diff) | |
download | emacs-scratch/install-package-from-directory.tar.gz |
Add comment regarding the `dir' desc-kindscratch/install-package-from-directory
-rw-r--r-- | lisp/emacs-lisp/package.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 27d6b9ce738..6f3cc9794b4 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1324,6 +1324,10 @@ Downloads and installs required packages as needed." (let ((pkg-desc (cond ((derived-mode-p 'dired-mode) + ;; This is the only way a package-desc object with a `dir' + ;; desc-kind can be created. Such packages can't be + ;; uploaded or installed from archives, they can only be + ;; installed from local buffers or directories. (package-dir-info)) ((derived-mode-p 'tar-mode) (package-tar-file-info)) |