bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14548: 24.3.1; [PATCH] image-dired-dired-toggle-marked-thumbs confli


From: Stefan Monnier
Subject: bug#14548: 24.3.1; [PATCH] image-dired-dired-toggle-marked-thumbs conflicts with other modes using overlays
Date: Thu, 13 Jun 2013 10:18:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> !        (let* ((cur-ovs (overlays-in (point) (1+ (point))))
>> !               (thumb-ov (car (cl-remove-if-not
>> !                               (lambda (ov) (overlay-get ov 'thumb-file))
>> !                               cur-ovs))))
>> !          (if thumb-ov
>> !              (delete-overlay thumb-ov)

BTW, now that I actually look at the code, I twonder why it doesn't use
remove-overlays.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]