summaryrefslogtreecommitdiff
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
commit7a046982fc3bfa9f2d54585eff090259a29579cb (patch)
treece2486888bed7ee3778f1ff0303106136d1063bf
parent61d7a2d863901b3f8e0babbc85360e88ee0cfaac (diff)
downloadgeiser-7a046982fc3bfa9f2d54585eff090259a29579cb.tar.gz
geiser-7a046982fc3bfa9f2d54585eff090259a29579cb.tar.bz2
Add highlighting/indentation for exceptions
Exceptions are defined by R6RS, SRFI-18 and SRFI-34.
-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"))