summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-09-26 13:39:17 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-09-26 13:39:17 -0700
commita2513667af6c1cfc58e971b9a5476cd5edfaef1c (patch)
tree1e02fcc7d96e31aedb28ebb618b8e3f484be9c9a /lisp/simple.el
parentffd6a03521de0a177db217e56cd6564ef60348fe (diff)
parent9fc9988d4d08028fb37c588f5e0483ac85b713d3 (diff)
downloademacs-a2513667af6c1cfc58e971b9a5476cd5edfaef1c.tar.gz
emacs-a2513667af6c1cfc58e971b9a5476cd5edfaef1c.tar.bz2
emacs-a2513667af6c1cfc58e971b9a5476cd5edfaef1c.zip
Merge from origin/emacs-25
9fc9988 Improve documentation of 'expand-abbrev' and wrapper hooks c14a1d4 Minor copyedits of MS-Windows installation instructions f281924 Fix display of cursor when 'blink-cursor-delay' has small value # Conflicts: # lisp/minibuffer.el
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 7e68baa02f8..dd253aec7d5 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4121,7 +4121,8 @@ These commands include \\[set-mark-command] and \\[start-kbd-macro]."
(defvar filter-buffer-substring-functions nil
- "This variable is a wrapper hook around `buffer-substring--filter'.")
+ "This variable is a wrapper hook around `buffer-substring--filter'.
+\(See `with-wrapper-hook' for details about wrapper hooks.)")
(make-obsolete-variable 'filter-buffer-substring-functions
'filter-buffer-substring-function "24.4")
@@ -4162,7 +4163,8 @@ that are special to a buffer, and should not be copied into other buffers."
(defun buffer-substring--filter (beg end &optional delete)
"Default function to use for `filter-buffer-substring-function'.
Its arguments and return value are as specified for `filter-buffer-substring'.
-This respects the wrapper hook `filter-buffer-substring-functions',
+Also respects the obsolete wrapper hook `filter-buffer-substring-functions'
+\(see `with-wrapper-hook' for details about wrapper hooks),
and the abnormal hook `buffer-substring-filters'.
No filtering is done unless a hook says to."
(subr--with-wrapper-hook-no-warnings