mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Fixed upgrade bug and cleared whitespace.
This commit is contained in:
parent
f8a5c05fc3
commit
78337bae43
4
init.el
4
init.el
@ -30,7 +30,9 @@ PACKAGE is installed and the current version is deleted."
|
||||
(unless (newest-package-installed-p package)
|
||||
(let ((pkg-desc (assq package package-alist)))
|
||||
(when pkg-desc
|
||||
(package-delete package (package-desc-vers (cdr pkg-desc))))
|
||||
(package-delete (symbol-name package)
|
||||
(package-version-join
|
||||
(package-desc-vers (cdr pkg-desc)))))
|
||||
(package-install package))))
|
||||
|
||||
(let ((packages
|
||||
|
4
init.org
4
init.org
@ -77,7 +77,9 @@
|
||||
(unless (newest-package-installed-p package)
|
||||
(let ((pkg-desc (assq package package-alist)))
|
||||
(when pkg-desc
|
||||
(package-delete package (package-desc-vers (cdr pkg-desc))))
|
||||
(package-delete (symbol-name package)
|
||||
(package-version-join
|
||||
(package-desc-vers (cdr pkg-desc)))))
|
||||
(package-install package))))
|
||||
#+END_SRC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user