diff options
author | Manuel Giraud <manuel@ledu-giraud.fr> | 2023-08-30 17:38:57 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2023-09-01 20:17:39 +0200 |
commit | 890a4c209abe0a2e03d317051357308757b26543 (patch) | |
tree | ca5a6f6a31ad359d68b270fba5460931f069b0e1 /lisp/image-mode.el | |
parent | 369f2eea100e010d3811a7daee26bbdf05ccde71 (diff) | |
download | emacs-890a4c209abe0a2e03d317051357308757b26543.tar.gz emacs-890a4c209abe0a2e03d317051357308757b26543.tar.bz2 emacs-890a4c209abe0a2e03d317051357308757b26543.zip |
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)
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r-- | lisp/image-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 336d89dd52d..962e48bd9c6 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -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) |