Variable: filter-buffer-substring-function

filter-buffer-substring-function is a variable defined in simple.el.gz.

Value

buffer-substring--filter

Documentation

Function to perform the filtering in filter-buffer-substring.

The function is called with the same 3 arguments (BEG END DELETE) that filter-buffer-substring received. It should return the buffer substring between BEG and END, after filtering. If DELETE is non-nil, it should delete the text between BEG and END from the buffer.

View in manual

Probably introduced at or before Emacs version 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defvar filter-buffer-substring-function #'buffer-substring--filter
  "Function to perform the filtering in `filter-buffer-substring'.
The function is called with the same 3 arguments (BEG END DELETE)
that `filter-buffer-substring' received.  It should return the
buffer substring between BEG and END, after filtering.  If DELETE is
non-nil, it should delete the text between BEG and END from the buffer.")