]> Cypherpunks repositories - gostls13.git/commit
misc/emacs: replace hacky go--delete-whole-line with own implementation
authorDominik Honnef <dominik.honnef@gmail.com>
Tue, 17 Jun 2014 18:43:35 +0000 (14:43 -0400)
committerAlan Donovan <adonovan@google.com>
Tue, 17 Jun 2014 18:43:35 +0000 (14:43 -0400)
commit2005bea7fd09e62fa1790dd86b04cfd712a0d21a
tree9e41b408cdad1ee7490a080db068073c63b6293d
parent3d853585b6e89355a2fa61c94af677ad976e1061
misc/emacs: replace hacky go--delete-whole-line with own implementation

Using flet to replace kill-region with delete-region was a hack,
flet is now (GNU Emacs 24.3) deprecated and at least two people
have reported an issue where using go--delete-whole-line would
permanently break their kill ring. While that issue is probably
caused by faulty third party code (possibly prelude), it's easier
to write a clean implementation than to tweak the hack.

LGTM=ruiu, adonovan
R=adonovan, ruiu
CC=adg, golang-codereviews
https://golang.org/cl/106010043
misc/emacs/go-mode.el