summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-10-03 16:23:51 +0300
committerAlex Kost <alezost@gmail.com>2015-10-03 16:23:51 +0300
commitece49d5bd0692bc8373a8b024909530d0db67cde (patch)
tree1af015ede99742bcbb80024e2bbcfacf07a2dcc4 /elisp
parentdc9be78f1fad878cbc245abce8d331a51ca50fc5 (diff)
downloadgeiser-guile-ece49d5bd0692bc8373a8b024909530d0db67cde.tar.gz
geiser-guile-ece49d5bd0692bc8373a8b024909530d0db67cde.tar.bz2
Add highlighting/indentation for exceptions
Exceptions are defined by R6RS, SRFI-18 and SRFI-34.
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-syntax.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index 6a5cb55..71ca83e 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -33,6 +33,7 @@
(catch defun)
(class defun)
(dynamic-wind 0)
+ (guard 1)
(let*-values 1)
(let-values 1)
(let/ec 1)
@@ -52,6 +53,7 @@
(unless 1)
(when 1)
(while 1)
+ (with-exception-handler 1)
(with-syntax 1))
@@ -78,6 +80,7 @@
"set!"
"unless"
"when"
+ "with-exception-handler"
"with-input-from-file"
"with-output-to-file"))