summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package-vc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 65979897777..ab1bffdd21d 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -203,8 +203,8 @@ This function is meant to be used as a hook for
;; :version 1
;; :default-vc Git)
(let ((spec (read (current-buffer))))
- (when (= package-vc-elpa-packages-version
- (plist-get (cdr spec) :version))
+ (when (eq package-vc-elpa-packages-version
+ (plist-get (cdr spec) :version))
(setf (alist-get (intern archive) package-vc-archive-spec-alist)
(car spec)))
(setf (alist-get (intern archive) package-vc-archive-data-alist)