diff options
| author | Manuel Giraud | 2023-02-23 16:42:48 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2023-02-28 15:25:07 +0200 |
| commit | eb2ab52fb0180daa792d4b7ff290f348fef12115 (patch) | |
| tree | fa2ab4c4a51a8687b451cf625a5b76aa4dc23ac0 /lisp/image | |
| parent | 5dc163f592a779f759fc0b259dd4f4b50678655c (diff) | |
| download | emacs-eb2ab52fb0180daa792d4b7ff290f348fef12115.tar.gz emacs-eb2ab52fb0180daa792d4b7ff290f348fef12115.zip | |
Defaults to zero for image-dired--number-of-thumbnails
* lisp/image/image-dired.el (image-dired--number-of-thumbnails):
Defaults zero to avoid wrong type argument error. (Bug#61734)
Diffstat (limited to 'lisp/image')
| -rw-r--r-- | lisp/image/image-dired.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index 8e2a75a418f..6ecb307ce12 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el | |||
| @@ -546,7 +546,7 @@ Restore any changes to the window configuration made by calling | |||
| 546 | (t | 546 | (t |
| 547 | (image-dired-line-up-dynamic)))) | 547 | (image-dired-line-up-dynamic)))) |
| 548 | 548 | ||
| 549 | (defvar-local image-dired--number-of-thumbnails nil) | 549 | (defvar-local image-dired--number-of-thumbnails 0) |
| 550 | 550 | ||
| 551 | ;;;###autoload | 551 | ;;;###autoload |
| 552 | (defun image-dired-display-thumbs (&optional arg append do-not-pop) | 552 | (defun image-dired-display-thumbs (&optional arg append do-not-pop) |