Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
ed0c0f2c
Commit
ed0c0f2c
authored
May 24, 2011
by
Eric Eisner
Committed by
Russ Cox
May 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc/emacs: don't select the mark after gofmt
R=ajmani CC=golang-dev
https://golang.org/cl/4553054
parent
4c945c2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
go-mode.el
misc/emacs/go-mode.el
+1
-1
No files found.
misc/emacs/go-mode.el
View file @
ed0c0f2c
...
@@ -523,7 +523,7 @@ Replace the current buffer on success; display errors on failure."
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment