We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22dc95c commit 68c03cdCopy full SHA for 68c03cd
racket-xp.el
@@ -685,7 +685,8 @@ racket-xp-doc and help-echo text properties added by
685
(defun racket--get-text-property/bounds (pos prop)
686
"Like `get-text-property' but also returning the bounds."
687
(when-let (val (get-text-property pos prop))
688
- (let* ((beg (if (not (get-text-property (1- pos) prop))
+ (let* ((beg (if (or (= 1 pos)
689
+ (not (get-text-property (1- pos) prop)))
690
pos
691
(previous-single-property-change pos prop)))
692
(end (or (next-single-property-change beg prop)
0 commit comments