diff options
| author | Glenn Morris | 2014-02-28 19:54:47 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-02-28 19:54:47 -0800 |
| commit | 84fc911dcc037ad75a3aeaf12d2fbcf1f1df648b (patch) | |
| tree | f6f95067c269316e6aedb7a8daffef756833bdaa | |
| parent | 3a6e15dd6fd89a4fbffe706674e86e3303fd2e91 (diff) | |
| download | emacs-84fc911dcc037ad75a3aeaf12d2fbcf1f1df648b.tar.gz emacs-84fc911dcc037ad75a3aeaf12d2fbcf1f1df648b.zip | |
* lisp/subr.el (with-wrapper-hook): Tweak obsolescence message.
* lisp/simple.el: Remove mistaken FIXME comment.
* etc/NEWS: Markup.
| -rw-r--r-- | etc/NEWS | 1 | ||||
| -rw-r--r-- | lisp/simple.el | 1 | ||||
| -rw-r--r-- | lisp/subr.el | 2 |
3 files changed, 2 insertions, 2 deletions
| @@ -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'. |
| 1299 | The few hooks that used with-wrapper-hook are replaced as follows: | 1300 | The 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 | |||
| 3468 | be copied into other buffers." | 3468 | be 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 | |||
| 1461 | to the next hook function, if any. The last (or \"outermost\") | 1461 | to the next hook function, if any. The last (or \"outermost\") |
| 1462 | FUN is then called once." | 1462 | FUN 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 :-( |