branch: elpa/idle-highlight-mode
commit a1cda3cf805b60fba73bc3e9801d668bfe0e0fe4
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Fix: idle-highlight-before-point wasn't working properly
---
idle-highlight-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idle-highlight-mode.el b/idle-highlight-mode.el
index 896d74c934f..4febae3836e 100755
--- a/idle-highlight-mode.el
+++ b/idle-highlight-mode.el
@@ -176,7 +176,7 @@ Where RANGES is an unordered list of (min . max) cons
cells."
(zerop (skip-syntax-forward idle-highlight-exceptions-syntax (1+
pos))))
(progn
(goto-char pos)
- (zerop (skip-syntax-backward idle-highlight-exceptions-syntax
pos)))))
+ (zerop (skip-syntax-backward idle-highlight-exceptions-syntax
(1- pos))))))
(t
(goto-char pos)
(zerop (skip-syntax-forward idle-highlight-exceptions-syntax (1+
pos)))))))