summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-06-27 07:25:47 +0000
committerUlrich Müller <ulm@gentoo.org>2007-06-27 07:25:47 +0000
commit37d73b6e8f027485008c11ccba9958eb6ff09efc (patch)
tree6177f1afb958decdc4fcea6c0dc4650556887914 /app-emacs/rst/files
parentStable on ppc64; bug #180617 (diff)
downloadgentoo-2-37d73b6e8f027485008c11ccba9958eb6ff09efc.tar.gz
gentoo-2-37d73b6e8f027485008c11ccba9958eb6ff09efc.tar.bz2
gentoo-2-37d73b6e8f027485008c11ccba9958eb6ff09efc.zip
Disable rst-mode-lazy in case font-lock doesn't support it.
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'app-emacs/rst/files')
-rw-r--r--app-emacs/rst/files/50rst-gentoo.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-emacs/rst/files/50rst-gentoo.el b/app-emacs/rst/files/50rst-gentoo.el
index 8bc647736f41..5792bb33563a 100644
--- a/app-emacs/rst/files/50rst-gentoo.el
+++ b/app-emacs/rst/files/50rst-gentoo.el
@@ -4,3 +4,7 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'rst-mode "rst" "mode for editing reStructuredText documents" t)
(add-to-list 'auto-mode-alist '("\\.re?st\\'" . rst-mode))
+
+;; disable rst-mode-lazy in case font-lock doesn't support it
+(or (fboundp 'lazy-lock-mode)
+ (setq rst-mode-lazy nil))