summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-01 13:23:22 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-01 13:23:22 +0200
commitf58c500ab06445481e710995ec5779ebd5ddc1b0 (patch)
treebd7e68638e1fd864d087efe3aa9fdbb39be57376
parentcce611b5d3f24273d22eafd66544457a79a0bf6b (diff)
downloadgeiser-guile-f58c500ab06445481e710995ec5779ebd5ddc1b0.tar.gz
geiser-guile-f58c500ab06445481e710995ec5779ebd5ddc1b0.tar.bz2
Better guessing for edit locations.
-rw-r--r--elisp/geiser-edit.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el
index 6938b60..9471981 100644
--- a/elisp/geiser-edit.el
+++ b/elisp/geiser-edit.el
@@ -65,9 +65,13 @@
"defmacro"
"define-macro"
"define-syntax"
+ "define-syntaxes"
+ "-define-syntax"
+ "-define"
"define*"
"define-method"
- "define-class")))
+ "define-class"
+ "define-struct")))
(defsubst geiser-edit--def-re (thing)
(format "(%s +(?%s\\_>" geiser-edit--def-re (regexp-quote (format "%s" thing))))