Skip to content

Commit 300596a

Browse files
authored
common, fix: logical error in citre-bounds-of-sym-or-op-at-point
1 parent 885555b commit 300596a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

citre-common-util.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ goes. CASE-FOLD decides case-sensitivity."
179179
(let ((step-forward (save-excursion (skip-syntax-forward ".")))
180180
(step-backward (save-excursion (skip-syntax-backward "."))))
181181
(unless (and (eq 0 step-forward) (eq 0 step-backward))
182-
(cons (- (point) step-backward)
182+
(cons (+ (point) step-backward)
183183
(+ (point) step-forward))))))
184184

185185
;;;; Text property

0 commit comments

Comments
 (0)