>> ! (let* ((cur-ovs (overlays-in (point) (1+ (point))))BTW, now that I actually look at the code, I twonder why it doesn't use
>> ! (thumb-ov (car (cl-remove-if-not
>> ! (lambda (ov) (overlay-get ov 'thumb-file))
>> ! cur-ovs))))
>> ! (if thumb-ov
>> ! (delete-overlay thumb-ov)
remove-overlays.
Stefan