[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; isearch for M-: incorrect in Info
From: |
Stefan Monnier |
Subject: |
Re: 23.0.60; isearch for M-: incorrect in Info |
Date: |
Sat, 19 Apr 2008 22:48:36 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> + (defvar isearch-success-function nil
[...]
> ! (if isearch-success-function
> ! (funcall isearch-success-function
> ! (match-beginning 0) (match-end 0))
> ! (or (eq search-invisible t)
> ! (not (isearch-range-invisible
> ! (match-beginning 0) (match-end 0))))))
Better just call isearch-success-function unconditionally and move the
default code to the default value of isearch-success-function.
I understand that may require many more changes to your code, tho, but
I think it's important to always make when you introduce such
a foo-function variable to make sure that it is possible to reproduce
the default value (since it's often desirable to do almost the same as
the default).
Stefan
- 23.0.60; isearch for M-: incorrect in Info, Drew Adams, 2008/04/13
- Re: 23.0.60; isearch for M-: incorrect in Info, Juri Linkov, 2008/04/15
- RE: 23.0.60; isearch for M-: incorrect in Info, Drew Adams, 2008/04/15
- Re: 23.0.60; isearch for M-: incorrect in Info, Juri Linkov, 2008/04/17
- Re: 23.0.60; isearch for M-: incorrect in Info, Stefan Monnier, 2008/04/18
- Re: 23.0.60; isearch for M-: incorrect in Info, Juri Linkov, 2008/04/19
- Re: 23.0.60; isearch for M-: incorrect in Info,
Stefan Monnier <=
- Re: 23.0.60; isearch for M-: incorrect in Info, Juri Linkov, 2008/04/20
- Re: 23.0.60; isearch for M-: incorrect in Info, Stefan Monnier, 2008/04/20