When the TAGS file is re-generated, and I try to visit tag in Emacs (M–.), Emacs asks me if I really want to re-read that file:
Tags file /path/to/TAGS has changed, read new contents? (yes or no)
And I have to enter yes every time. Not very convenient (M–. Enter y e s Enter are 7 keys to press against only 2 in Vim).
How can I configure Emacs to read the updated TAGS silently, without asking?
Edit: before finding the above answer, I suggested adding this line:
to
.emacsfile, because every time you’re asked if you want to reread that file, you’ll just have to hit ‘y’ if you prefer not to usetags-revert-without-query. In that case, M–. y is just one keystroke more than Vim.I’ll leave that information here in case somebody finds it useful.