Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod

This commit is contained in:
Daniel Gröber 2015-08-18 04:39:58 +02:00
commit 97c632fbd7
2 changed files with 4 additions and 3 deletions

View File

@ -186,7 +186,8 @@ nil do not display errors/warnings.
(forward-line (1- line))
(forward-char (1- coln))
(setq beg (point))
(skip-chars-forward "^[:space:]" (line-end-position))
(forward-sexp)
;; (skip-chars-forward "^[:space:]" (line-end-position))
(setq end (point)))))
(t
(setq beg (point))

View File

@ -126,8 +126,8 @@
(with-selected-window cwin
(goto-char (point-max))
(insert-buffer-substring tbuf 1 end)
(set-buffer-modified-p nil)
(redisplay)))))
(set-buffer-modified-p nil))
(redisplay))))
(delete-region 1 end)))))
(goto-char (point-max))
(forward-line -1)