Currently M-. does not work in an indirect cloned buffer created with C-x 4 c, as the indirect buffer does not have a file name directly. This patch gets the file name of the base buffer if the current buffer is an indirect buffer, otherwise it gets the file name of the current buffer.
Coverage decreased (-0.2%) to 65.922% when pulling ac81325f5c67c68f3378676c0bba9d168ac7f362 on tspiteri:indirect-buffers into 94637305de53c88bf9b6d4769bdb3918dc0c5654 on racer-rust:master.
Coverage decreased (-0.2%) to 65.922% when pulling ac81325f5c67c68f3378676c0bba9d168ac7f362 on tspiteri:indirect-buffers into 94637305de53c88bf9b6d4769bdb3918dc0c5654 on racer-rust:master.
Currently M-. does not work in an indirect cloned buffer created with C-x 4 c, as the indirect buffer does not have a file name directly. This patch gets the file name of the base buffer if the current buffer is an indirect buffer, otherwise it gets the file name of the current buffer.