summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-edit.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el
index fad08b6..e504b30 100644
--- a/elisp/geiser-edit.el
+++ b/elisp/geiser-edit.el
@@ -61,7 +61,13 @@
(cdr (assoc 'line loc)))
(defconst geiser-edit--def-re
- (regexp-opt '("define" "defmacro" "define-macro" "define-syntax" "define*")))
+ (regexp-opt '("define"
+ "defmacro"
+ "define-macro"
+ "define-syntax"
+ "define*"
+ "define-method"
+ "define-class")))
(defsubst geiser-edit--def-re (thing)
(format "(%s +(?%s\\_>" geiser-edit--def-re (regexp-quote (format "%s" thing))))