emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master a7c65fc666: Allow nil value for filter-buffer-substring-funct


From: Robert Pluim
Subject: Re: master a7c65fc666: Allow nil value for filter-buffer-substring-function
Date: Mon, 19 Sep 2022 17:10:15 +0200

>>>>> On Mon, 19 Sep 2022 10:57:14 -0400 (EDT), Stefan Kangas 
>>>>> <stefankangas@gmail.com> said:


    Stefan> diff --git a/lisp/simple.el b/lisp/simple.el
    Stefan> index 1b9bf9fa6d..40df5695c3 100644
    Stefan> --- a/lisp/simple.el
    Stefan> +++ b/lisp/simple.el
    Stefan> @@ -5363,7 +5363,10 @@ These commands include \\[set-mark-command] 
and \\[start-kbd-macro]."
    Stefan>  The function is called with the same 3 arguments (BEG END DELETE)
    Stefan>  that `filter-buffer-substring' received.  It should return the
    Stefan>  buffer substring between BEG and END, after filtering.  If DELETE 
is
    Stefan> -non-nil, it should delete the text between BEG and END from the 
buffer.")
    Stefan> +non-nil, it should delete the text between BEG and END from the 
buffer.
    Stefan> +
    Stefan> +The default value is `buffer-substring--filter', and nil means
    Stefan> +the same as the default.")

Ick. If `buffer-substring--filter' is the default function to call, it
should not have the '--' internal function marker.

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]