]> git.eshelyaron.com Git - emacs.git/commitdiff
Switch Gnus D-Bus signal from :session to :system
authorEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 27 Aug 2020 20:57:03 +0000 (13:57 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 27 Aug 2020 21:19:07 +0000 (14:19 -0700)
* lisp/gnus/gnus-dbus.el (gnus-dbus-register-sleep-signal): Apparently
this needs to be :system -- perhaps because PrepareForSleep is a
system-level event?

lisp/gnus/gnus-dbus.el

index dbfa7fb693f68e0d2caf91f86b853e1bcfffc29a..8fbeffba4371177913ce37a5ac46e8fb48a88194 100644 (file)
@@ -44,7 +44,7 @@ Used to unregister the signal.")
   "Use `dbus-register-signal' to close servers on sleep."
   (when (featurep 'dbusbind)
     (setq gnus-dbus-sleep-registration-object
-         (dbus-register-signal :session
+         (dbus-register-signal :system
                                "org.freedesktop.login1"
                                "/org/freedesktop/login1"
                                "org.freedesktop.login1.Manager"