emacs-31 8b32d77a078: Fix defcustom type of 'dframe-update-speed'
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit 8b32d77a0781d1bd94ae89a1cb5039ab454d7adc Author: Daniel Mendler <[email protected]> Commit: Eli Zaretskii <[email protected]> Fix defcustom type of 'dframe-update-speed' * lisp/dframe.el (dframe-update-speed): Generalize type from integer to number and update docstring. (Bug#81560) --- lisp/dframe.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/dframe.el b/lisp/dframe.el index 08dd8aa873c..ac5a32f20f7 100644 --- a/lisp/dframe.el +++ b/lisp/dframe.el @@ -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.