New customization group exwm-debug

The group was already used, but the docstring was missing.

* exwm-core.el (exwm-debug): New customization group.
This commit is contained in:
Daniel Mendler 2024-01-14 00:57:37 +01:00
parent f3c03ebbc3
commit c033fc00f3
No known key found for this signature in database
GPG key ID: D88ADB2A2693CA43

View file

@ -33,6 +33,10 @@
(require 'xcb-ewmh)
(require 'xcb-debug)
(defgroup exwm-debug nil
"Debugging."
:group 'exwm)
(defcustom exwm-debug-log-time-function #'exwm-debug-log-uptime
"Function used for generating timestamps in `exwm-debug' logs.
@ -40,7 +44,6 @@ Here are some predefined candidates:
`exwm-debug-log-uptime': Display the uptime of this Emacs instance.
`exwm-debug-log-time': Display time of day.
`nil': Disable timestamp."
:group 'exwm-debug
:type `(choice (const :tag "Emacs uptime" ,#'exwm-debug-log-uptime)
(const :tag "Time of day" ,#'exwm-debug-log-time)
(const :tag "Off" nil)