emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/minimap da7767e 07/10: Fix problem with overlay extendi


From: Stefan Monnier
Subject: [elpa] externals/minimap da7767e 07/10: Fix problem with overlay extending to the end of the buffer
Date: Tue, 1 Dec 2020 16:26:47 -0500 (EST)

branch: externals/minimap
commit da7767ed78d97990aca1eda4e8b917cde77a9f8f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix problem with overlay extending to the end of the buffer
    
    * packages/minimap/minimap.el (minimap-enlarge-faces): The overlay
    may extend to the end of the buffer (bug#28634).
---
 minimap.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/minimap.el b/minimap.el
index 231c049..e6f2b72 100644
--- a/minimap.el
+++ b/minimap.el
@@ -768,7 +768,7 @@ You can specify those properties with
        (with-current-buffer minimap-buffer-name
          (setq ov
                (make-overlay pos
-                             (setq pos (next-single-property-change pos 
'face))))
+                             (setq pos (or (next-single-property-change pos 
'face) pos))))
          (overlay-put ov 'face `(:family ,(face-font 'default)))
          (overlay-put ov 'priority 5)))
       (setq pos (next-single-property-change pos 'face)))))



reply via email to

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