Don't ignore errors

This commit is contained in:
Lars Tveito 2020-03-10 20:23:47 +01:00
parent 9057f1ff7a
commit 9da6f9e6a5

View File

@ -218,15 +218,14 @@
slime ; Superior Lisp Interaction Mode for Emacs slime ; Superior Lisp Interaction Mode for Emacs
try ; Try out Emacs packages try ; Try out Emacs packages
which-key))) ; Display available keybindings in popup which-key))) ; Display available keybindings in popup
(ignore-errors ;; This package is only relevant for Mac OS X. (when (memq window-system '(mac ns))
(when (memq window-system '(mac ns)) (push 'exec-path-from-shell packages)
(push 'exec-path-from-shell packages) (push 'reveal-in-osx-finder packages))
(push 'reveal-in-osx-finder packages)) (let ((packages (remove-if 'package-installed-p packages)))
(let ((packages (remove-if 'package-installed-p packages))) (when packages
(when packages ;; Install uninstalled packages
;; Install uninstalled packages (package-refresh-contents)
(package-refresh-contents) (mapc 'package-install packages))))
(mapc 'package-install packages)))))
#+END_SRC #+END_SRC
** Mac OS X ** Mac OS X