branch: master
commit 81f8c3882003df72287d51e09f58775e3a5b1fc4
Author: mas <mas>
Commit: mas <mas>
(mmm-font-lock-available-p): Added flag.
---
mmm-compat.el | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/mmm-compat.el b/mmm-compat.el
index 1387d78..2d34dc2 100644
--- a/mmm-compat.el
+++ b/mmm-compat.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <[email protected]>
-;; Version: $Id: mmm-compat.el,v 1.2 2000/07/11 02:27:41 mas Exp $
+;; Version: $Id: mmm-compat.el,v 1.3 2000/07/11 02:44:06 mas Exp $
;;{{{ GPL
@@ -153,6 +153,13 @@ This makes `@' in skeletons act approximately like it does
in FSF."
'(@ ''(push (point) skeleton-positions)))))
;;}}}
+;;{{{ Font Lock (Emacs w/o X)
+
+(defvar mmm-font-lock-available-p (or window-system mmm-xemacs)
+ "Whether font-locking is available.
+Emacs 19 and 20 only provide font-lock with a window system in use.")
+
+;;}}}
(provide 'mmm-compat)