]> Cypherpunks repositories - gostls13.git/commit
misc/emacs: add support for ff-find-other-file
authorDominik Honnef <dominik.honnef@gmail.com>
Wed, 19 Feb 2014 03:23:55 +0000 (22:23 -0500)
committerAlan Donovan <adonovan@google.com>
Wed, 19 Feb 2014 03:23:55 +0000 (22:23 -0500)
commitcce25c88ce96a8c6cc0af212bcd9f75bf9d3fb86
treefebcbbe8ca564eacee1862ab44fcb168da0722ad
parent0d9b9aafd575099fcbd05e0c8f05f087d8d2b922
misc/emacs: add support for ff-find-other-file

c-mode classically uses ff-find-other-file to toggle between headers
and implementation. For Go it seemingly makes sense to jump between
implementation and test.

While there's no enforced mapping of file names for tests, the mapping
in this CL seems to be very common at least throughout the standard
library, and ff-find-other-file fails gracefully when the mapping
doesn't apply.

LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/65750044
misc/emacs/go-mode.el