Fix wrong-number-of-args error when installing packages

The fourth argument of map-put is an Emacs 26+ only feature.
This commit is contained in:
Henrik Lissner 2018-05-18 18:47:15 +02:00
parent 5abdeed8fd
commit ee386f8461
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -280,7 +280,7 @@ example; the package name can be omitted)."
(let ((pkg-build-dir (expand-file-name (symbol-name name) quelpa-build-dir)))
(when (file-directory-p pkg-build-dir)
(delete-directory pkg-build-dir t)))
(map-put doom-packages name plist #'eq)
(map-put doom-packages name plist)
name)))
(defun doom-update-package (name &optional force-p)