mirror of
https://github.com/golang/go
synced 2024-11-22 00:04:41 -07:00
misc/emacs: don't select the mark after gofmt
R=ajmani CC=golang-dev https://golang.org/cl/4553054
This commit is contained in:
parent
4c945c2cfc
commit
ed0c0f2c80
@ -523,7 +523,7 @@ Replace the current buffer on success; display errors on failure."
|
|||||||
(erase-buffer)
|
(erase-buffer)
|
||||||
(insert-buffer-substring outbuf)
|
(insert-buffer-substring outbuf)
|
||||||
(goto-char (min old-point (point-max)))
|
(goto-char (min old-point (point-max)))
|
||||||
(if old-mark (set-mark (min old-mark (point-max))))
|
(if old-mark (push-mark (min old-mark (point-max)) t))
|
||||||
(kill-buffer errbuf))
|
(kill-buffer errbuf))
|
||||||
|
|
||||||
;; gofmt failed: display the errors
|
;; gofmt failed: display the errors
|
||||||
|
Loading…
Reference in New Issue
Block a user