[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/symbol-overlay a892fdbc47 2/3: Fix incorrect behavior of s
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/symbol-overlay a892fdbc47 2/3: Fix incorrect behavior of symbol-overlay-switch-backward |
Date: |
Mon, 11 Mar 2024 10:00:57 -0400 (EDT) |
branch: elpa/symbol-overlay
commit a892fdbc478addf4c0662e08c56eaee92dd0e04b
Author: roife <roifewu@gmail.com>
Commit: roife <roifewu@gmail.com>
Fix incorrect behavior of symbol-overlay-switch-backward
---
symbol-overlay.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/symbol-overlay.el b/symbol-overlay.el
index 453128a25f..e1be4789dd 100644
--- a/symbol-overlay.el
+++ b/symbol-overlay.el
@@ -255,7 +255,7 @@ If SYMBOL is non-nil, get the overlays that belong to it.
DIR is an integer.
If EXCLUDE is non-nil, get all overlays excluding those belong to SYMBOL."
(let ((overlays (cond ((= dir 0) (overlays-in (point-min) (point-max)))
- ((< dir 0) (overlays-in (point-min) (point)))
+ ((< dir 0) (nreverse (overlays-in (point-min)
(point))))
((> dir 0) (overlays-in
(if (looking-at-p "\\_>") (1- (point))
(point))
(point-max))))))