FUEL: Kind of subtle bug in C-cC-eu caused by syntax table tweakings.

db4
Jose A. Ortega Ruiz 2009-01-17 05:35:16 +01:00
parent 5b3a9eb35f
commit 923bd07ad4
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@
(substring-no-properties (thing-at-point 'line)))))
(when in-usings (setq line (concat "! " line)))
(push line lines))
(when (and in-usings (looking-at ".*\\_<;\\_>")) (setq in-usings nil))
(when (and in-usings (looking-at "\\(^\\|.* \\);\\( \\|\n\\)"))
(setq in-usings nil))
(forward-line))
(reverse lines))))))