[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile eac0fe0b13 2/2: Recognise define-library as m
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/geiser-guile eac0fe0b13 2/2: Recognise define-library as module definer |
Date: |
Wed, 16 Mar 2022 16:58:22 -0400 (EDT) |
branch: elpa/geiser-guile
commit eac0fe0b134539bc78e403a7e66ce424f2bf8c36
Author: jao <jao@gnu.org>
Commit: jao <jao@gnu.org>
Recognise define-library as module definer
Might help addressing #17
---
geiser-guile.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/geiser-guile.el b/geiser-guile.el
index 3a235c5643..bf4c2be598 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."