From: <reu...@us...> - 2006-09-15 10:59:12
|
Author: reuleaux Date: 2006-09-15 12:59:02 +0200 (Fri, 15 Sep 2006) New Revision: 4744 Modified: trunk/docutils/tools/editors/emacs/rst.el Log: (require 'font-lock) added to the installation instructions Modified: trunk/docutils/tools/editors/emacs/rst.el =================================================================== --- trunk/docutils/tools/editors/emacs/rst.el 2006-09-15 10:33:23 UTC (rev 4743) +++ trunk/docutils/tools/editors/emacs/rst.el 2006-09-15 10:59:02 UTC (rev 4744) @@ -74,6 +74,14 @@ ;; (require 'rst) ;; (add-hook 'text-mode-hook 'rst-text-mode-bindings) ;; +;; Emacs installations seem to vary a lot. If you experience problems in Emacs 21 +;; regarding font-lock-preprocessor-face not being found, then (require 'font-lock) +;; just before (require 'rst) should solve these problems:: +;; +;; (require 'font-lock) +;; (require 'rst) +;; (add-hook 'text-mode-hook 'rst-text-mode-bindings) +;; ;; rst-prefix-map is the prefix map for all the functionality provide by this ;; module. In addition, other shorter bindings are also provided on the ;; mode-specific-map prefix (i.e C-c). |