diff options
| author | Tassilo Horn | 2015-02-04 20:39:16 +0100 |
|---|---|---|
| committer | Tassilo Horn | 2015-02-04 20:39:16 +0100 |
| commit | da9c6486d27a350685d473abb9ffd9345e6eda31 (patch) | |
| tree | abab174949a7af806b57b61db8cb51d674f0e32f | |
| parent | 73b17f7c2b723a0ad4ea04cf1a5a8be5bbdf6121 (diff) | |
| download | emacs-da9c6486d27a350685d473abb9ffd9345e6eda31.tar.gz emacs-da9c6486d27a350685d473abb9ffd9345e6eda31.zip | |
Fix typo causing a void-variable error: pkg-desc
* emacs-lisp/package.el (package-installed-p): Fix typo causing
void-variable error.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fbf77c6258e..432ca69ac6f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-02-04 Tassilo Horn <tsdh@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/package.el (package-installed-p): Fix typo causing | ||
| 4 | void-variable error. | ||
| 5 | |||
| 1 | 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com> | 6 | 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com> |
| 2 | 7 | ||
| 3 | * emacs-lisp/package.el (package-delete): Remove package from | 8 | * emacs-lisp/package.el (package-delete): Remove package from |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index c635fcdf671..67cd44d6758 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -1002,7 +1002,7 @@ should be a version list. | |||
| 1002 | If PACKAGE is a package-desc object, MIN-VERSION is ignored." | 1002 | If PACKAGE is a package-desc object, MIN-VERSION is ignored." |
| 1003 | (unless package--initialized (error "package.el is not yet initialized!")) | 1003 | (unless package--initialized (error "package.el is not yet initialized!")) |
| 1004 | (if (package-desc-p package) | 1004 | (if (package-desc-p package) |
| 1005 | (let ((dir (package-desc-dir pkg-desc))) | 1005 | (let ((dir (package-desc-dir package))) |
| 1006 | (and (stringp dir) | 1006 | (and (stringp dir) |
| 1007 | (file-exists-p dir))) | 1007 | (file-exists-p dir))) |
| 1008 | (or | 1008 | (or |