Subject: bug#11381: 23.3; isearch-search-and-update issue?

From: Stefan Monnier <[email-masked]>
Date: Sun, 20 May 2012 22:23:31 -0400

>> @@ -1425,7 +1445,11 @@ (defun word-search-backward (string &opt
>> of words in STRING to a regexp used to search words without regard
>> to punctuation."
>> (interactive "sWord search backward: ")
>> -  (re-search-backward (word-search-regexp string nil) bound noerror count))
>> +  (re-search-backward
>> +   (if (functionp isearch-word)
>> +       (funcall isearch-word string nil)
>> +     (word-search-regexp string nil))
>> +   bound noerror count))
> This doesn't sound right.

I guess I was a bit terse here: what I meant is that changing the
behavior depending on isearch-* variables is OK for a function named
isearch-foo but not word-search-*ward.

        Stefan