From fd3b401749f6ce1b6c8496bb7a29e81302831113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Wed, 5 Aug 2015 01:41:33 +0200 Subject: [PATCH] FUEL: this fix makes it so stack effects spread out over multiple lines highlight --- misc/fuel/factor-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/fuel/factor-mode.el b/misc/fuel/factor-mode.el index 73a45a2c16..cd497297e5 100644 --- a/misc/fuel/factor-mode.el +++ b/misc/fuel/factor-mode.el @@ -184,7 +184,7 @@ these lines in your .emacs: ;;; Regexps galore: ;; Utility regexp used by other regexps to match a Factor symbol name -(setq-local symbol "\\(\\(?:\\sw\\|\\s_\\)+\\)") +(setq-local symbol "\\(\\(?:\\sw\\|\\s_\\|\\s(\\|\\s)\\)+\\)") (setq-local ws+ "[ \n\t]+") (setq-local symbols-to-semicolon "\\([^;\t]*\\)\\(;\\)") @@ -208,7 +208,7 @@ these lines in your .emacs: ('scan-error nil)) (let ((bracket-stop (point))) (goto-char bracket-start) - (re-search-forward ".+" bracket-stop 'mv))))))) + (re-search-forward "\\(.\\|\n\\)+" bracket-stop 'mv))))))) ;; Excludes parsing words that are handled by other regexps (defconst factor-parsing-words