emacs-devel
[Top][All Lists]
Advanced

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

Re: isearch hooks (was: query-replace-interactive not documented)


From: Stefan
Subject: Re: isearch hooks (was: query-replace-interactive not documented)
Date: 28 Jun 2004 20:25:25 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> +           (if isearch-wrapped-hook
> +                  (run-hooks 'isearch-wrapped-hook)
> +                (goto-char (if isearch-forward (point-min) (point-max))))

If the hook was made buffer local it might be non-nil and yet empty.
So the test for nil-ness of isearch-wrapped-hook is wrong.


        Stefan




reply via email to

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