Hi! The attached patch fix the problem. It considers '(xxx) not to be a function calling position (like before), but #'(xxx) is (unlike before). Is it the way we should handle this problem? If so, can this go into emacs-25? (The only use of the modified function, which didn't exist in Emacs 24, is for highlighting lisp keywords.) -- Anders