Eric M. Ludlam wrote:
>>>>Markus Gritsch <gritsch@...> seems to think that:
>>A call to (lmcompile-do-highlight) changes point in all buffers in which
>>something is highlighted. point will be moved to the beginning of the
>>line containing the last highlighted line.
>>It would be nice if (lmcompile-do-highlight) didn't have such a side
>>effect. Can someone tell me how to fix this?
> [ ... ]
> I've added it to my todo list and will investigate when I can.
I found the bug: In linemark.el the call to (set-buffer buffer) must be
followed by a (save-excursion ...). I attached the modified linemark.el.