fixing the bug of "\n".

This commit is contained in:
Kazu Yamamoto 2011-03-07 11:03:48 +09:00
parent 7ad9cca220
commit d460ad2ed2

View File

@ -103,7 +103,7 @@
(when (looking-at "^\\([^ ]+\\) *::")
(save-match-data
(forward-line)
(if (eobp) (insert "\n")))
(if (not (bolp)) (insert "\n")))
(insert (match-string 1) " = undefined\n")))
((string-match "Not in scope: `\\([^']+\\)'" data)
(save-match-data