[Top][All Lists]

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

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

From: Stefan Monnier
Subject: bug#11381: 23.3; isearch-search-and-update issue?
Date: Sun, 20 May 2012 22:23:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

>> @@ -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.


reply via email to

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