From f35795f4156eb8b906be46999543b74b54f68d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Wed, 14 Aug 2013 18:02:32 +0200 Subject: [PATCH] FUEL: Correct regexp to work with multiline USING: --- misc/fuel/factor-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/fuel/factor-mode.el b/misc/fuel/factor-mode.el index 4ba9496700..e506708d08 100644 --- a/misc/fuel/factor-mode.el +++ b/misc/fuel/factor-mode.el @@ -582,7 +582,7 @@ source/docs/tests file. When set to false, you'll be asked only once." (defun factor-in-using () (let ((p (point))) (save-excursion - (and (re-search-backward "^USING: " nil t) + (and (re-search-backward "^USING:[ \n]" nil t) (re-search-forward " ;" nil t) (< p (match-end 0))))))