Skip to content

Commit fd43407

Browse files
authored
use (point-min) to be compatible with narrowing (#226)
1 parent ca02a6b commit fd43407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rime.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ the car is keyCode, the cdr is mask."
741741
'rime-preedit-face
742742
(cons 'rime-preedit-face
743743
(plist-get (text-properties-at
744-
(if (> (point) 1)
744+
(if (> (point) (point-min))
745745
(1- (point))
746746
(point)))
747747
'face))))))))

0 commit comments

Comments
 (0)