summaryrefslogtreecommitdiff
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
commitaefaae3c8af9d31c12411073dba7749f194bd749 (patch)
treeffc5705e3ab37b84963943b2928e13f9f21153d2
parentc74baab7509c68e0db09870954a8de3a3e7727aa (diff)
downloadgeiser-guile-aefaae3c8af9d31c12411073dba7749f194bd749.tar.gz
geiser-guile-aefaae3c8af9d31c12411073dba7749f194bd749.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.
-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)