Function: dbus-setenv

dbus-setenv is a byte-compiled function defined in dbus.el.gz.

Signature

(dbus-setenv BUS VARIABLE VALUE)

Documentation

Set the value of the BUS environment variable named VARIABLE to VALUE.

BUS is either a Lisp keyword, :system or :session, or a string denoting the bus address. Both VARIABLE and VALUE should be strings.

Normally, services inherit the environment of the BUS daemon. This function adds to or modifies that environment when activating services.

Some bus instances, such as :system, may disable setting the environment.

Probably introduced at or before Emacs version 24.3.

Source Code

;; Defined in /usr/src/emacs/lisp/net/dbus.el.gz
(defun dbus-setenv (bus variable value)
  "Set the value of the BUS environment variable named VARIABLE to VALUE.

BUS is either a Lisp keyword, `:system' or `:session', or a
string denoting the bus address.  Both VARIABLE and VALUE should
be strings.

Normally, services inherit the environment of the BUS daemon.  This
function adds to or modifies that environment when activating services.

Some bus instances, such as `:system', may disable setting the environment."
  (dbus-call-method
   bus dbus-service-dbus dbus-path-dbus
   dbus-interface-dbus "UpdateActivationEnvironment"
   `(:array (:dict-entry ,variable ,value))))