Fix defcustom type of 'dframe-update-speed'

* lisp/dframe.el (dframe-update-speed): Generalize type from integer to
number and update docstring.  (Bug#81560)
This commit is contained in:
Daniel Mendler 2026-08-09 17:16:31 +02:00 committed by Eli Zaretskii
parent a56e964941
commit 8b32d77a07

View file

@ -127,10 +127,11 @@ is not useful to the user.")
(defcustom dframe-update-speed 1
"Idle time in seconds needed before dframe will update itself.
Updates occur to allow dframe to display directory information
relevant to the buffer you are currently editing."
Updates occur to allow dframe to display directory information relevant
to the buffer you are currently editing. The value can be an integer or
float since it is passed to `run-with-idle-timer'."
:group 'dframe
:type 'integer)
:type 'number)
(defcustom dframe-activity-change-focus-flag nil
"Non-nil means the selected frame will change based on activity.