]> Cypherpunks repositories - gostls13.git/commit
Fix minor issues with updating go-mode in an empty buffer
authorKevin Ballard <kevin@sb.org>
Wed, 13 Jan 2010 02:32:19 +0000 (13:32 +1100)
committerRob Pike <r@golang.org>
Wed, 13 Jan 2010 02:32:19 +0000 (13:32 +1100)
commitea1a36efcda31c159655be5e8258bb88fb600a1a
treeec641104e917c5d92c240c96a001b0ee8063cb4f
parent24dafbaa371f11b161ab518b6fbcc023403a67f7
Fix minor issues with updating go-mode in an empty buffer

  Sometimes during editing, when the buffer is emptied (for example,
  as part of a call to M-x gofmt), an error is raised when
  remove-text-properties is called. Ensure that these calls use point-max
  instead of buffer-size to determine their end point.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/189042
misc/emacs/go-mode.el