bug fix of insertion of "undefined" in eob.
This commit is contained in:
parent
51a533202a
commit
9af4a74abe
@ -31,7 +31,9 @@
|
|||||||
(save-excursion
|
(save-excursion
|
||||||
(beginning-of-line)
|
(beginning-of-line)
|
||||||
(when (looking-at "^\\([^ ]+\\) *::")
|
(when (looking-at "^\\([^ ]+\\) *::")
|
||||||
|
(save-match-data
|
||||||
(forward-line)
|
(forward-line)
|
||||||
|
(if (eobp) (insert "\n")))
|
||||||
(insert (match-string 1) " = undefined\n"))))
|
(insert (match-string 1) " = undefined\n"))))
|
||||||
|
|
||||||
(defun ghc-sort-lines (beg end)
|
(defun ghc-sort-lines (beg end)
|
||||||
|
Loading…
Reference in New Issue
Block a user