summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-03-16 20:05:15 +0000
committerjao <jao@gnu.org>2022-03-16 20:05:15 +0000
commiteac0fe0b134539bc78e403a7e66ce424f2bf8c36 (patch)
tree833483e1c7b8d74793e6d82ddb5692b9a18e96cf
parent39f61547ae74c202628a976012c7446b2eb4c7f5 (diff)
downloadgeiser-guile-eac0fe0b134539bc78e403a7e66ce424f2bf8c36.tar.gz
geiser-guile-eac0fe0b134539bc78e403a7e66ce424f2bf8c36.tar.bz2
Recognise define-library as module definer
Might help addressing #17
-rw-r--r--geiser-guile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/geiser-guile.el b/geiser-guile.el
index 3a235c5..bf4c2be 100644
--- a/geiser-guile.el
+++ b/geiser-guile.el
@@ -266,7 +266,7 @@ This function uses `geiser-guile-init-file' if it exists."
"(define-module +\\(([^)]+)\\)")
(defconst geiser-guile--library-re
- "(library +\\(([^)]+)\\)")
+ "(\\(?:define-\\)?library +\\(([^)]+)\\)")
(defun geiser-guile--get-module (&optional module)
"Find current buffer's module using MODULE as a hint."