[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 933b4fe: Fix problem with overlay extending to the end of
From: |
Lars Ingebrigtsen |
Subject: |
[elpa] master 933b4fe: Fix problem with overlay extending to the end of the buffer |
Date: |
Mon, 15 Jul 2019 05:34:35 -0400 (EDT) |
branch: master
commit 933b4fe883981e1e12bdc313a52adf3b904c4e40
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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).
---
packages/minimap/minimap.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/minimap/minimap.el b/packages/minimap/minimap.el
index 231c049..e6f2b72 100644
--- a/packages/minimap/minimap.el
+++ b/packages/minimap/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)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master 933b4fe: Fix problem with overlay extending to the end of the buffer,
Lars Ingebrigtsen <=