diff options
author | Case Duckworth | 2021-10-06 16:29:55 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-06 16:29:55 -0500 |
commit | f17abf3a098920cd23bdbb8c0cc4d16116443f54 (patch) | |
tree | 9d5aef93913667da0492ae7b5b6c47a1da2832ab /init.el | |
parent | Add actually-selected-window (diff) | |
download | emacs-f17abf3a098920cd23bdbb8c0cc4d16116443f54.tar.gz emacs-f17abf3a098920cd23bdbb8c0cc4d16116443f54.zip |
Add system-packages
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/init.el b/init.el index ee4c959..3759b59 100644 --- a/init.el +++ b/init.el | |||
@@ -2328,6 +2328,18 @@ the default is \"/\"." | |||
2328 | (auto-save-visited-mode -1) | 2328 | (auto-save-visited-mode -1) |
2329 | (super-save-mode +1)) | 2329 | (super-save-mode +1)) |
2330 | 2330 | ||
2331 | (setup (:straight-when system-packages | ||
2332 | (seq-some #'executable-find | ||
2333 | ;; I can't use `system-packages-supported-package-managers' | ||
2334 | ;; because, well, the package isn't installed yet. So | ||
2335 | ;; ... update this list if any package managers are added. | ||
2336 | '("guix" "nix" | ||
2337 | "brew" "macports" | ||
2338 | "pacman" "emerge" | ||
2339 | "zypper" "dnf" | ||
2340 | "apt" "aptitude" | ||
2341 | "xbps")))) | ||
2342 | |||
2331 | (setup (:straight-when systemd | 2343 | (setup (:straight-when systemd |
2332 | (executable-find "systemd"))) | 2344 | (executable-find "systemd"))) |
2333 | 2345 | ||