From 9da6f9e6a556ad0cca2a6a72ebcc095c38e0121e Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Tue, 10 Mar 2020 20:23:47 +0100 Subject: [PATCH] Don't ignore errors --- init.org | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/init.org b/init.org index 96e2ab1..fb0989c 100644 --- a/init.org +++ b/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