diff options
| author | Dmitry Gutov | 2014-03-22 10:43:30 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2014-03-22 10:43:30 +0200 |
| commit | 1197f2e66501837c96d0a5cc627e2791878066f2 (patch) | |
| tree | e864822261e94119a26c0a22a44e1bd54895bfcd /test | |
| parent | 4568178886420e5dea897a3ff1945b4fc8a4a680 (diff) | |
| download | emacs-1197f2e66501837c96d0a5cc627e2791878066f2.tar.gz emacs-1197f2e66501837c96d0a5cc627e2791878066f2.zip | |
Fix bug#16873
* lisp/emacs-lisp/package.el (package-desc): Use the contents of the
quoted form, not its cdr.
Diffstat (limited to 'test')
| -rw-r--r-- | test/automated/data/package/archive-contents | 3 | ||||
| -rw-r--r-- | test/automated/package-test.el | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/automated/data/package/archive-contents b/test/automated/data/package/archive-contents index a6df6b8086e..e2f92304f86 100644 --- a/test/automated/data/package/archive-contents +++ b/test/automated/data/package/archive-contents | |||
| @@ -2,7 +2,8 @@ | |||
| 2 | (simple-single . | 2 | (simple-single . |
| 3 | [(1 3) | 3 | [(1 3) |
| 4 | nil "A single-file package with no dependencies" single | 4 | nil "A single-file package with no dependencies" single |
| 5 | ((:url . "http://doodles.au"))]) | 5 | ((:url . "http://doodles.au") |
| 6 | (:keywords quote ("frobnicate")))]) | ||
| 6 | (simple-depend . | 7 | (simple-depend . |
| 7 | [(1 0) | 8 | [(1 0) |
| 8 | ((simple-single (1 3))) "A single-file package with a dependency." single]) | 9 | ((simple-single (1 3))) "A single-file package with a dependency." single]) |
diff --git a/test/automated/package-test.el b/test/automated/package-test.el index 72422a8684b..6d0dcdab299 100644 --- a/test/automated/package-test.el +++ b/test/automated/package-test.el | |||
| @@ -326,6 +326,7 @@ Must called from within a `tar-mode' buffer." | |||
| 326 | (should (search-forward "Summary: A single-file package with no dependencies" | 326 | (should (search-forward "Summary: A single-file package with no dependencies" |
| 327 | nil t)) | 327 | nil t)) |
| 328 | (should (search-forward "Homepage: http://doodles.au" nil t)) | 328 | (should (search-forward "Homepage: http://doodles.au" nil t)) |
| 329 | (should (search-forward "Keywords: frobnicate")) | ||
| 329 | ;; No description, though. Because at this point we don't know | 330 | ;; No description, though. Because at this point we don't know |
| 330 | ;; what archive the package originated from, and we don't have | 331 | ;; what archive the package originated from, and we don't have |
| 331 | ;; its readme file saved. | 332 | ;; its readme file saved. |