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: Stefan Monnier
Subject: Re: master a7c65fc666: Allow nil value for filter-buffer-substring-function
Date: Mon, 19 Sep 2022 16:37:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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

Why?  You're *not* supposed to call `buffer-substring--filter'.
Instead you're supposed to call the value contained in
`filter-buffer-substring-function`, whichever it is.  (and if you're
modifying this variable, then you're supposed to modify it with
`add-function` and your function will then receive the "previous"
function to call).


        Stefan




reply via email to

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