[Top][All Lists]

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

Re: Compatibility code for `filter-buffer-substring-functions'?

From: Glenn Morris
Subject: Re: Compatibility code for `filter-buffer-substring-functions'?
Date: Tue, 27 Mar 2012 20:55:07 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Bastien wrote:

> Okay.  But replacing `buffer-substring-filters' by
> `filter-buffer-substring-functions' is not trivial.

Eg, the org-agenda one seems equivalent to:

(add-hook 'filter-buffer-substring-functions
   (lambda (fun start end delete)
     (substring-no-properties (funcall fun start end delete))))

reply via email to

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