history list is changed
I have let g:ackhighlight = 1 in my vimrc.
After Ack xxx, the last cmd in history list is let &hlsearch=1 | echo.
The implementation of this is pretty hacky. It precedes my time as maintainer, I'm not exactly sure why it's done the way it is, but I can recall seeing some git history waffling around on it, so if you want to investigate, check out the git blame and follow it through parent commits to try to understand (fugitive's re-blame support is handy).
It should be possible to work around it with some histdel() hackery or maybe some other approach altogether, but to be frank it's not something that bothers me enough that I'm likely to try to figure it out with any urgency. Patches welcome 😃