mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Don't ignore errors
This commit is contained in:
parent
9057f1ff7a
commit
9da6f9e6a5
17
init.org
17
init.org
@ -218,15 +218,14 @@
|
||||
slime ; Superior Lisp Interaction Mode for Emacs
|
||||
try ; Try out Emacs packages
|
||||
which-key))) ; Display available keybindings in popup
|
||||
(ignore-errors ;; This package is only relevant for Mac OS X.
|
||||
(when (memq window-system '(mac ns))
|
||||
(push 'exec-path-from-shell packages)
|
||||
(push 'reveal-in-osx-finder packages))
|
||||
(let ((packages (remove-if 'package-installed-p packages)))
|
||||
(when packages
|
||||
;; Install uninstalled packages
|
||||
(package-refresh-contents)
|
||||
(mapc 'package-install packages)))))
|
||||
(when (memq window-system '(mac ns))
|
||||
(push 'exec-path-from-shell packages)
|
||||
(push 'reveal-in-osx-finder packages))
|
||||
(let ((packages (remove-if 'package-installed-p packages)))
|
||||
(when packages
|
||||
;; Install uninstalled packages
|
||||
(package-refresh-contents)
|
||||
(mapc 'package-install packages))))
|
||||
#+END_SRC
|
||||
|
||||
** Mac OS X
|
||||
|
Loading…
Reference in New Issue
Block a user