Fix `image-auto-resize-on-window-resize' custom :type
* lisp/image-mode.el (image-auto-resize-on-window-resize): Change custom :type from integer to number to be able to set below 1 second. (Bug#65626)
This commit is contained in:
parent
369f2eea10
commit
890a4c209a
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ This will always keep the image fit to the window.
|
|||
When non-nil, the value should be a number of seconds to wait before
|
||||
resizing according to the value specified in `image-auto-resize'."
|
||||
:type '(choice (const :tag "No auto-resize on window size change" nil)
|
||||
(integer :tag "Wait for number of seconds before resize" 1))
|
||||
(number :tag "Wait for number of seconds before resize" 1))
|
||||
:version "27.1"
|
||||
:group 'image)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue