LionyxML / auto-dark-emacs

Auto-Dark-Emacs is an auto changer between 2 themes, dark/light, following MacOS, Linux or Windows Dark Mode settings
GNU General Public License v2.0
140 stars 34 forks source link

Require dbus library #23

Closed J3RN closed 1 year ago

J3RN commented 1 year ago

Fixes #22

This is pretty simple fix. I assumed that (require 'dbus) would fail on macOS versions of Emacs (namely GNU Emacs For Mac OS X, but—at least on my mac—it doesn't; it succeeds. Please test on your own machine to verify :grin:

macOS machines won't attempt to use D-Bus, though, since the functionality is still gated by checking "activatable names": https://github.com/LionyxML/auto-dark-emacs/blob/19040dfd1e0ad2e89a12bbdd045559711bf3193e/auto-dark.el#L197-L198

LionyxML commented 1 year ago

Closed in favor of #24.