~protesilaos/substitute

19726be05788b0520d33086e0af16c26dd285f05 — Protesilaos Stavrou 1 year, 10 months ago 7f9c619
Obsolete substitute-post-replace-hook; use substitute-post-replace-functions
1 files changed, 6 insertions(+), 1 deletions(-)

M substitute.el
M substitute.el => substitute.el +6 -1
@@ 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.