diff options
author | Colin Okay <colin@cicadas.surf> | 2022-09-08 07:53:18 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-09-08 07:53:18 -0500 |
commit | 56f3fafb990170ff58de750a0f8e058665d7c71f (patch) | |
tree | 389d3f542df8dfb54a07b1d8fed8348e4eb48ff1 | |
parent | 04ecb5b706fe0d00dccf33973d7fee7bbe8880c2 (diff) |
Modify: changed my-package-install to just fail silently for now
-rw-r--r-- | init-el.org | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/init-el.org b/init-el.org index 9b884c3..9d7d589 100644 --- a/init-el.org +++ b/init-el.org @@ -81,14 +81,13 @@ So, to use this file for the very first time you must (defun my-package-install (package &optional archive dont-select) "archive is a string naming the archive. Will attempt" - (unless (assoc package package-alist) - (let* ((pkg-descs - (assoc package package-archive-contents)) - (desc - (if archive - (find archive pkg-descs :test 'equalp :key 'package-desc-archive)))) - (when desc - (package-install desc dont-select))))) + (let* ((pkg-descs + (assoc package package-archive-contents)) + (desc + (if archive + (find archive pkg-descs :test 'equalp :key 'package-desc-archive)))) + (when desc + (package-install desc dont-select)))) (require 'package) (add-to-list 'package-archives |