X-Debbugs-CC: galli.87@gmail.com Tags: patch Advising eldoc-documentation-function sometimes resulted in a function void symbol error. I don't know exactly why but the fact is that eldoc-print-current-symbol-info error handler ended up printing "eldoc error: ...". Anyway the approach seems to me a bit contorted so I replaced the advice by a more conventional local variable and it seems to work fine now.