Thanks for the bug report, tkf!
It looks to me like I have forgotten to add (length sml-begin) to the variable "end". Can you try this instead of your patch:
(setq start (+ start (length sml-begin))) + (setq end (+ start (length sml-begin)))
Thanks for the bug report, tkf!
It looks to me like I have forgotten to add (length sml-begin) to the variable "end". Can you try this instead of your patch:
(setq start (+ start (length sml-begin)))
+ (setq end (+ start (length sml-begin)))