(Arne Babenhauserheide)
2014-05-02: fix: font-lock-default-face does not exist by default. fix: font-lock-default-face does not exist by default.
diff --git a/wisp-mode.el b/wisp-mode.el
--- a/wisp-mode.el
+++ b/wisp-mode.el
@@ -75,9 +75,12 @@
("\\`#!.*" . font-lock-comment-face) ; initial hashbang
("\"\\.\\*\\?" . font-lock-string-face) ; strings (anything between "")
; ("^_+ *$" . font-lock-default-face) ; line with only underscores
- ; and whitespace shown as
- ; default text. This is just
- ; a bad workaround. Which does not work.
+ ; and whitespace shown as
+ ; default text. This is just
+ ; a bad workaround.
+ ; Which does not work because
+ ; *-default-face is not guaranteed
+ ; to be defined.
("^\\(?:_* +\\| *\\): *$" . font-lock-keyword-face) ; line with only a : + whitespace, not at the beginning
("^\\(?:_* +\\| *\\): \\| *\\. " . font-lock-keyword-face) ; leading : or .
( ,(regexp-opt wisp-builtin 'symbols) . font-lock-builtin-face) ; generic functions