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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user