Hi emacs, when calling find-function or find-variable find-function-after-hook is run. In the ther hand, find-function-search-for-symbol don't run this hook. For example, I set find-function-after-hook to always visit source code in a read-only buffer. This work for find-function/variable. But sometimes, you call describe-function/describe-variable, and, after reading the doc. string you decide to take a look in the implementation. In that cases the buffer may not be in read-only mode because find-function-after-hook is not called. In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.29) Repository revision: 90c647b97f0e62ca8bc2fc1d27f0170136277fb7