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

auto-dark--is-dark-mode-dbus: Symbol’s function definition is void: dbus-call-method #22

Closed willmcpherson2 closed 1 year ago

willmcpherson2 commented 1 year ago

Hi, first of all thanks for the package. Awesome to see support for many different platforms. I'm new to Emacs so excuse me if I've got this wrong.

M-x auto-dark-mode fails:

auto-dark--is-dark-mode-dbus: Symbol’s function definition is void: dbus-call-method

But if I eval (require 'dbus), it succeeds. We should call this at some point before we call any dbus functions.

Thanks!

J3RN commented 1 year ago

This is my doing; I'm working on a fix. Weirdly I don't have to require dbus on one of my machines, but I do on another.