bug fix of insertion of "undefined" in eob.

This commit is contained in:
Kazu Yamamoto 2010-04-22 14:16:56 +09:00
parent 51a533202a
commit 9af4a74abe

View File

@ -31,7 +31,9 @@
(save-excursion
(beginning-of-line)
(when (looking-at "^\\([^ ]+\\) *::")
(forward-line)
(save-match-data
(forward-line)
(if (eobp) (insert "\n")))
(insert (match-string 1) " = undefined\n"))))
(defun ghc-sort-lines (beg end)