Function: system-sleep--set-back-end
system-sleep--set-back-end is a byte-compiled function defined in
system-sleep.el.gz.
Signature
(system-sleep--set-back-end)
Documentation
Determine sleep/wake host system type.
Source Code
;; Defined in /usr/src/emacs/lisp/system-sleep.el.gz
;; Internal implementation.
(defun system-sleep--set-back-end ()
"Determine sleep/wake host system type."
;; Order matters to accommodate the cases where an NS or MS-Windows
;; build have the dbus feature.
(setq system-sleep--back-end
(cond ((featurep 'ns) 'ns)
((featurep 'w32) 'w32)
((and (featurep 'dbusbind)
(require 'dbus))
'dbus)
(t nil))))