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

From: Stefan Monnier <[email-masked]>
Date: Sun, 20 May 2012 21:36:11 -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.
 
> +		   (if (eq isearch-word 'symbol-search-regexp)
> +		       "symbol "

Comparing two functions for equality is a bad idea.

        Stefan