From 3107c66c844355269c02dd3418e80275a33ed296 Mon Sep 17 00:00:00 2001 From: kobarity Date: Sat, 31 Jan 2026 23:12:05 +0900 Subject: [PATCH] Change the type of 'python-eldoc-function-timeout' to number * etc/NEWS: Announce the change. * lisp/progmodes/python.el (python-eldoc-function-timeout): Change the type. (Bug#80045) --- etc/NEWS | 6 ++++++ lisp/progmodes/python.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 1d6929f97e2..ce344283368 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2508,6 +2508,12 @@ When point is between indentation, the command deletes the text in the region and deactivates the mark if Transient Mark mode is enabled, the mark is active, and prefix argument is 1. +--- +*** 'python-eldoc-function-timeout' now accepts floating-point numbers. +To allow for finer-grained adjustment of timeout for +'python-eldoc-function', 'python-eldoc-function-timeout' now accepts +floating-point numbers as well as integers. + ** Tmm Menubar --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 39ec97e1b86..2a3035c95c5 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -5842,7 +5842,7 @@ Set to nil by `python-eldoc-function' if (defcustom python-eldoc-function-timeout 1 "Timeout for `python-eldoc-function' in seconds." - :type 'integer + :type 'number :version "25.1") (defcustom python-eldoc-function-timeout-permanent t