branch: externals/substitute commit b44eaab0c32aafeb8448179a5a042664a2747c29 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Document correct symbol for hook in sample configuration --- README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.org b/README.org index 43bdcdef07..a8f9120e91 100644 --- a/README.org +++ b/README.org @@ -177,7 +177,7 @@ Everything is in place to set up the package. ;; If you want a message reporting the matches that changed in the ;; given context. We don't do it by default. -(add-hook 'substitute-post-replace-hook #'substitute-report-operation) +(add-hook 'substitute-post-replace-functions #'substitute-report-operation) ;; We do not bind any keys. This is just an idea. The mnemonic is ;; that M-# (or M-S-3) is close to M-% (or M-S-5).