summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."