When I used rst-mode on emacs 22, this error was occured: Error in post-command-hook: (void-function lazy-lock-mode) Since emacs 22, lazy-lock-mode is obsolete and jit-lock-mode replaces it. In rst.el of the snapshot of docutils (URL is below), this problem is fixed. Snapshot URL: http://docutils.sourceforge.net/docutils-snapshot.tgz I make a patch. It replaces code related to font-lock to snapshot's. I think we should block <emacs-22 or apply the patch. Reproducible: Always Steps to Reproduce:
Created attachment 140936 [details, diff] patch for this problem.
Fixed in rst-0.4-r1. I've slightly altered the patch file to remove whitespace changes. Thank you for reporting and for providing the patch.