aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS1
-rw-r--r--lisp/simple.el1
-rw-r--r--lisp/subr.el2
3 files changed, 2 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 157a505bfd6..b317d2be606 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1295,6 +1295,7 @@ This is like the old `eval-after-load', but better behaved.
1295*** `generic-make-keywords-list' 1295*** `generic-make-keywords-list'
1296*** `get-upcase-table' (use `case-table-get-table' instead). 1296*** `get-upcase-table' (use `case-table-get-table' instead).
1297 1297
1298+++
1298** `with-wrapper-hook' is obsoleted by `add-function'. 1299** `with-wrapper-hook' is obsoleted by `add-function'.
1299The few hooks that used with-wrapper-hook are replaced as follows: 1300The few hooks that used with-wrapper-hook are replaced as follows:
1300*** `abbrev-expand-function' obsoletes `abbrev-expand-functions'. 1301*** `abbrev-expand-function' obsoletes `abbrev-expand-functions'.
diff --git a/lisp/simple.el b/lisp/simple.el
index 85a7476dbe0..bf8b6a75ac7 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3468,7 +3468,6 @@ extract characters that are special to a buffer, and should not
3468be copied into other buffers." 3468be copied into other buffers."
3469 (funcall filter-buffer-substring-function beg end delete)) 3469 (funcall filter-buffer-substring-function beg end delete))
3470 3470
3471;; FIXME: `with-wrapper-hook' is obsolete
3472(defun buffer-substring--filter (beg end &optional delete) 3471(defun buffer-substring--filter (beg end &optional delete)
3473 (with-wrapper-hook filter-buffer-substring-functions (beg end delete) 3472 (with-wrapper-hook filter-buffer-substring-functions (beg end delete)
3474 (cond 3473 (cond
diff --git a/lisp/subr.el b/lisp/subr.el
index 1bfa3c83a35..e4350bffff8 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1461,7 +1461,7 @@ Each hook function definition is used to construct the FUN passed
1461to the next hook function, if any. The last (or \"outermost\") 1461to the next hook function, if any. The last (or \"outermost\")
1462FUN is then called once." 1462FUN is then called once."
1463 (declare (indent 2) (debug (form sexp body)) 1463 (declare (indent 2) (debug (form sexp body))
1464 (obsolete "use a <foo>-function variable modified by add-function." 1464 (obsolete "use a <foo>-function variable modified by `add-function'."
1465 "24.4")) 1465 "24.4"))
1466 ;; We need those two gensyms because CL's lexical scoping is not available 1466 ;; We need those two gensyms because CL's lexical scoping is not available
1467 ;; for function arguments :-( 1467 ;; for function arguments :-(