radian-software / radian

🍉 Dotfiles that marry elegance and practicality.
MIT License
495 stars 47 forks source link

ad-handle-definition: 'LaTeX-add-bibliographies' got redefined #402

Closed raxod502 closed 6 years ago

raxod502 commented 6 years ago

Message shown when enabling latex-mode directly after Emacs init.

jhenahan commented 6 years ago

Relevant: https://andrewjamesjohnson.com/suppressing-ad-handle-definition-warnings-in-emacs/

Looks like this is largely just noise generated by defadvice, and can be silenced by setting

(setq ad-redefinition-action 'accept)
raxod502 commented 6 years ago

Yes, I have seen this before. I have tended to avoid it in the past, since I assumed the warning (i.e. a function definition was discarded due to delayed activation of advice) was indicating a real problem. If I keep running into this, though, I will probably just silence the warnings (possibly after reporting bugs upstream).

raxod502 commented 6 years ago

Solved by doing as @jhenahan suggested.