In article <firstname.lastname@example.org>,
> On Sunday, August 19, 2012 4:52:21 AM UTC-5, Leo wrote:
> > (progn (YOURFUNCTION ...) nil)
> You can also use advice, but (progn ... nil) is probably preferable.
> (defun foo ()
> (defadvice foo (after modify-return-value activate)
> (setq ad-return-value nil))
If he advised search-forward to return nil, that would break lots of
other things. He just wants to ignore the return value in one
particular place where he calls it.
Barry Margolin, bar...@alum.mit.edu
*** PLEASE post questions in newsgroups, not directly to me ***