From: Noam Postavsky <npostavs@gmail.com>
Date: Sat, 27 Oct 2018 19:27:45 +0000 (-0400)
Subject: * lisp/simple.el (filter-buffer-substring): Clarify doc (Bug#33179).
X-Git-Tag: emacs-26.1.90~49
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de2818432acacea4eec35d5a92f240856de7b765;p=emacs.git

* lisp/simple.el (filter-buffer-substring): Clarify doc (Bug#33179).
---

diff --git a/lisp/simple.el b/lisp/simple.el
index 29bb9cbcfb9..08f622ad8e0 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4232,7 +4232,7 @@ unless a hook has been set.
 Use `filter-buffer-substring' instead of `buffer-substring',
 `buffer-substring-no-properties', or `delete-and-extract-region' when
 you want to allow filtering to take place.  For example, major or minor
-modes can use `filter-buffer-substring-function' to extract characters
+modes can use `filter-buffer-substring-function' to exclude text properties
 that are special to a buffer, and should not be copied into other buffers."
   (funcall filter-buffer-substring-function beg end delete))