projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f1e7c
)
; Avoid a type error on malformed "elpa-packages.eld" input
author
Philip Kaludercic
<philipk@posteo.net>
Sun, 30 Oct 2022 13:07:56 +0000
(14:07 +0100)
committer
Philip Kaludercic
<philipk@posteo.net>
Sun, 30 Oct 2022 13:07:56 +0000
(14:07 +0100)
* lisp/emacs-lisp/package-vc.el: Use 'eq' instead of '='
lisp/emacs-lisp/package-vc.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package-vc.el
b/lisp/emacs-lisp/package-vc.el
index 65979897777981577513987eba6999df55e4d950..ab1bffdd21de88332e95daf2eb1b8ce85b008970 100644
(file)
--- 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)