diff options
| author | Dima Kogan | 2015-03-24 12:53:08 -0700 |
|---|---|---|
| committer | Noam Postavsky | 2017-05-21 17:43:02 -0400 |
| commit | 08848e33baf16d3137b171205f51839d8fcf7d06 (patch) | |
| tree | 8aabb6eb8ba8376c6f52d00c418a6e279327a2f0 /src | |
| parent | 32f80eb678c4dc6335063cc39975bbce2766829a (diff) | |
| download | emacs-08848e33baf16d3137b171205f51839d8fcf7d06.tar.gz emacs-08848e33baf16d3137b171205f51839d8fcf7d06.zip | |
Make ff-find-other-file symmetric for C++ (Bug#20192)
`cc-other-file-alist' has a mapping of file extensions to switch
between headers and sources, but the mappings weren't completely
symmetric. In particular .cpp would map to .hh, but .hh would NOT map
to .cpp.
* lisp/find-file.el (cc-other-file-alist): Map ".hh" and ".h" to all
C++ extensions to make them symmetric with the C++ extensions that map
to them. This lets repeated invocations of `ff-find-other-file'
toggle between all pairs of sources/headers.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions