Function: system-taskbar--set-back-end

system-taskbar--set-back-end is a byte-compiled function defined in system-taskbar.el.gz.

Signature

(system-taskbar--set-back-end)

Documentation

Determine taskbar host system type.

Source Code

;; Defined in /usr/src/emacs/lisp/system-taskbar.el.gz
;; Internal implementation.

(defun system-taskbar--set-back-end ()
  "Determine taskbar host system type."
  ;; Order matters to accommodate the cases where an NS or MS-Windows
  ;; build have the dbus feature.
  (setq system-taskbar--back-end
        (cond ((boundp 'ns-version-string) 'ns)
              ((bound-and-true-p w32-initialized) 'w32)
              ((and (featurep 'dbusbind)
                    (require 'dbus)
                    (member "org.freedesktop.login1"
                            (dbus-list-activatable-names :system)))
               'dbus)
              (t nil))))