Closed yuya373 closed 6 years ago
lui-insert-with-text-properties add text-property 'lui-saved-properties to whole buffer.
lui-insert-with-text-properties
'lui-saved-properties
(add-text-property ...) is executed after (widen), (point-min) and (point-max) return whole buffer.
(add-text-property ...)
(widen)
(point-min)
(point-max)
I move (add-text-property ...) before (widen) .
Wow, nice catch! Thank you!
Problem
lui-insert-with-text-properties
add text-property'lui-saved-properties
to whole buffer.(add-text-property ...)
is executed after(widen)
,(point-min)
and(point-max)
return whole buffer.I move
(add-text-property ...)
before(widen)
.