summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-29 20:54:57 +0100
committerjao <jao@gnu.org>2022-08-29 20:54:57 +0100
commitb2d6f398e33c0f140dcde5adc91117aa7de4463d (patch)
tree591144e44f4d8fee9322f04d9709d40f38a98f6d
parent7a4945fbc199ec823da1be7283f6e81f83b2609b (diff)
downloadgeiser-guile-b2d6f398e33c0f140dcde5adc91117aa7de4463d.tar.gz
geiser-guile-b2d6f398e33c0f140dcde5adc91117aa7de4463d.tar.bz2
More accepting library module detection
-rw-r--r--geiser-guile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/geiser-guile.el b/geiser-guile.el
index db42945..f5ec2ef 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
- "(\\(?:define-\\)?library +\\(([^)]+)\\)")
+ "(\\(?:define-\\)?library[[:blank:]\n]+\\(([^)]+)\\)")
(defun geiser-guile--get-module (&optional module)
"Find current buffer's module using MODULE as a hint."