Eli Zaretskii writes: Hi Eli, >> >> The function returns a number, which counts the connections this Emacs >> >> session has established to the BUS under the same unique name >> > >> > However: >> > >> > (dbus-init-bus :system) >> > >> > ==> ((:signal :system "org.freedesktop.DBus.Local" "Disconnected") (nil "/org/freedesktop/DBus/Local" dbus-handle-bus-disconnect)) >> > >> > Looking at the definition of `dbus-init-bus', it seems that only a >> > `prog1' form is missing to make the docstring correct: >> > >> > (prog1 (dbus--init-bus ...) (dbus-register-signal ...)) >> >> Indeed. dbus--init-bus keeps the original implementation of dbus-init-bus. >> It would be safe to apply this patch even to the emacs-26 branch, IMHO. >> >> Eli? > > ENOPATCH My question was, whether we could apply the proposed change to the emacs-26 branch. What else are you missing? The patch itself? It's obvious from Philipp's message, but here it is: