]> code.delx.au - gnu-emacs/blobdiff - lisp/simple.el
Pacify byte-compiler for byte-compile-macroexpand-declare-function
[gnu-emacs] / lisp / simple.el
index e2570625f3207d8604e297ca5a62039fa6404421..65664c93666d8d19fa66e77769cbcba7e7f71675 100644 (file)
@@ -4061,7 +4061,8 @@ Its arguments and return value are as specified for `filter-buffer-substring'.
 This respects the wrapper hook `filter-buffer-substring-functions',
 and the abnormal hook `buffer-substring-filters'.
 No filtering is done unless a hook says to."
-  (with-wrapper-hook filter-buffer-substring-functions (beg end delete)
+  (subr--with-wrapper-hook-no-warnings
+    filter-buffer-substring-functions (beg end delete)
     (cond
      ((or delete buffer-substring-filters)
       (save-excursion