Switch to original buffer after chasing tags in Emacs

后端 未结 3 629
无人共我
无人共我 2021-01-22 14:33

I use M-. to jump to definitions of class/functions. Sometimes there are multiple classes with the same tag, so I need to use C-u M-. to jump to multip

3条回答
  •  温柔的废话
    2021-01-22 15:28

    I believe that M-. calls find-tag by default. You should be able to go back up the stack of locations with M-* (pop-tag-mark).

    From C-h f find-tag:

    A marker representing the point when this command is invoked is pushed onto a ring and may be popped back to with M-*. Contrast this with the ring of marks gone to by the command.

提交回复
热议问题