emacs-devel
[Top][All Lists]
Advanced

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

inverse of add-to-list: remove-from-list


From: Uwe Brauer
Subject: inverse of add-to-list: remove-from-list
Date: Tue, 13 Oct 2020 10:42:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)


Hi

This has always bothered me: for example 

(add-to-list 'org-export-filter-src-block-functions
         'my-html-filter-src-blocks)

Adds a function to the variable org-export-filter-src-block-function

But there is, as far as I know, no inverse functionality 

(remove-from-list 'org-export-filter-src-block-functions
         'my-html-filter-src-blocks)

Does not exist. Wouldn't that be useful?

Reason there is add-hook and remove-hook

Regards

Uwe Brauer 




reply via email to

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