>>> + (if (or (and (memq major-mode '(emacs-lisp-mode lisp-mode)) >>> + (or (= (nth 0 ppss) 1) >>> + (= (nth 0 jit-lock-context-ppss) 1))) >> >> Here I'd just compare (not (equal (nth 0 ppss) (nth 0 >> jit-lock-context-ppss))).
> That would be wrong - I must refontify when both values equal 1 - else I > wouldn't handle changing You mean that it wouldn't help for emacs-lisp-mode. You're right. The problem with emacs-lisp-mode should be fixed elsewhere. I suggested to compare (not (equal (nth 0 ppss) (nth 0 jit-lock-context-ppss))) for "completeness". Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel