branch: externals/substitute
commit 19726be05788b0520d33086e0af16c26dd285f05
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Obsolete substitute-post-replace-hook; use substitute-post-replace-functions
---
 substitute.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/substitute.el b/substitute.el
index 9598a35196..fede479c9b 100644
--- a/substitute.el
+++ b/substitute.el
@@ -50,7 +50,12 @@ of the substitution."
   :group 'substitute
   :type 'boolean)
 
-(defcustom substitute-post-replace-hook nil
+(define-obsolete-variable-alias
+  'substitute-post-replace-hook
+  'substitute-post-replace-functions
+  "0.2.0")
+
+(defcustom substitute-post-replace-functions nil
   "Special hook to run after a substitution command.
 Every function is called with four arguments: TARGET, SUB, COUNT,
 and SCOPE.

Reply via email to