[Top][All Lists]

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

Re: Please add comments to isearch.el

From: Juri Linkov
Subject: Re: Please add comments to isearch.el
Date: Tue, 15 Dec 2015 01:51:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu)

>> Ohh, and I'd add also search-default-regexp-mode -> 
>> search-default-regexp-function
>> that currently causes confusion due to its similarity with 
>> isearch-regexp-function.
> The thing is that this variable is not necessarily a function, it can be
> nil or t too. I'd rather reserve the suffix "-function" for variables that
> necessarily hold a function.

A variable with the suffix "-function" is allowed to have a nil value,
but not t, indeed.  What about using a function instead of t, maybe ‘identity’?

reply via email to

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