emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master da9c648: Fix typo causing a void-variable error: pk


From: Tassilo Horn
Subject: [Emacs-diffs] master da9c648: Fix typo causing a void-variable error: pkg-desc
Date: Wed, 04 Feb 2015 19:42:28 +0000

branch: master
commit da9c6486d27a350685d473abb9ffd9345e6eda31
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    Fix typo causing a void-variable error: pkg-desc
    
    * emacs-lisp/package.el (package-installed-p): Fix typo causing
    void-variable error.
---
 lisp/ChangeLog             |    5 +++++
 lisp/emacs-lisp/package.el |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fbf77c6..432ca69 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-04  Tassilo Horn  <address@hidden>
+
+       * emacs-lisp/package.el (package-installed-p): Fix typo causing
+       void-variable error.
+
 2015-02-04  Artur Malabarba  <address@hidden>
 
        * emacs-lisp/package.el (package-delete): Remove package from
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index c635fcd..67cd44d 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1002,7 +1002,7 @@ should be a version list.
 If PACKAGE is a package-desc object, MIN-VERSION is ignored."
   (unless package--initialized (error "package.el is not yet initialized!"))
   (if (package-desc-p package)
-      (let ((dir (package-desc-dir pkg-desc)))
+      (let ((dir (package-desc-dir package)))
         (and (stringp dir)
              (file-exists-p dir)))
     (or



reply via email to

[Prev in Thread] Current Thread [Next in Thread]