Basically, I want to ensure that the elfeed package is available and load it with use-package, but only on one computer, so I wrote something like this:
(unless (string= system-name "here-elfeed-shall-not-run") (use-package elfeed :ensure t :config (setq elfeed-feeds '(blabla doesnt matter)))) The problem is that even though the use-package part is not supposed to run (because system-name == "here-elfeed-shall-not-run"), it, in fact, runs. I dealt with this by using an if keyword:
(use-package elfeed :if (not (string= system-name "here-elfeed...")) ...) Which would be great, if I could still ensure that elfeed is available on the computer on which I want it to be.
What can I do to ensure that elfeed exists on one PC, but shouldn't be downloaded on the other?
:ensuredpackages at macro-expansion-time, which seems like a bug, but is probably a feature.