Gustav Wikström <gus...@whil.se> writes: > Taking your comments and improving the first patch a bit resulted in > the attached one. It replaces the previous. Using string-prefix-p and > string-suffix-p solves the out of index problem in the substrings.
Applied. Thank you. I modified a bit the patch however, since my suggestion about using `string-suffix-p' doesn't hold: it isn't compatible with Emacs 24.3. I also removed a bunch of `setq'. Regards,