Manuel Giraud writes: > Hi, > > Here is a patch to avoid "wrong type error" upon comparision to zero of > image-dired--number-of-thumbnails. How to reproduce: > > - Do not have an existing *image-dired* buffer > - Hit 'C-t a' (image-dired-display-thumbs-append) on an image file > from Dired Maybe this new version can go in too. It updates the thumbnails counter when removing a thumbnail. What is not updated though is the number of the image which is assign with a text-property at insertion... So it is not complete but an improvement nevertheless.