summaryrefslogtreecommitdiff
path: root/elisp/geiser-syntax.el
diff options
context:
space:
mode:
authorDiogo F. S. Ramos <dfsr@riseup.net>2014-02-28 18:03:51 -0300
committerJose Antonio Ortega Ruiz <jao@gnu.org>2014-03-07 13:21:05 +0100
commit90bb87cf31a3f22d3485aec2b6d182db672937e9 (patch)
treef1f6c65c99201f755ca74a39f234b5733640ed2d /elisp/geiser-syntax.el
parentc1bce4b44f9cf6eff11652d35abb95a37381a166 (diff)
downloadgeiser-90bb87cf31a3f22d3485aec2b6d182db672937e9.tar.gz
geiser-90bb87cf31a3f22d3485aec2b6d182db672937e9.tar.bz2
Disable error in `define-syntax-rule' font lock
This allows partially matched `define-syntax-rule' expressions and avoids the termination of search-based fontification, which affects other expressions inside the buffer, in the case of a missing subexpression.
Diffstat (limited to 'elisp/geiser-syntax.el')
-rw-r--r--elisp/geiser-syntax.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index 9aa02fc..94f7d55 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -57,7 +57,7 @@
(,(rx "(" (group "define-syntax-rule") eow (* space)
(? "(") (? (group (1+ word))))
(1 font-lock-keyword-face)
- (2 font-lock-function-name-face))))
+ (2 font-lock-function-name-face nil t))))
(font-lock-add-keywords 'scheme-mode geiser-syntax--keywords)