bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23038: 25.0.92; M-% from isearch broken (error in isearch--describe-


From: Artur Malabarba
Subject: bug#23038: 25.0.92; M-% from isearch broken (error in isearch--describe-regexp-mode)
Date: Fri, 18 Mar 2016 00:53:49 -0300


On 17 Mar 2016 11:26 am, "Kaushal Modi" <kaushal.modi@gmail.com> wrote:
>
> I would let you and others evaluate this proposed fix.
>
> diff --git a/lisp/isearch.el b/lisp/isearch.el
> index 988503e..9b8a0f0 100644
> --- a/lisp/isearch.el
> +++ b/lisp/isearch.el
> @@ -2594,7 +2594,8 @@ isearch--describe-regexp-mode
>            (isearch-regexp "regexp ")
>            ;; 4. And finally, if we're in literal mode (and if the
>            ;;    default mode is also not literal), describe it.
> -               ((functionp search-default-mode) "literal "))))
> +          ((functionp search-default-mode) "literal ")
> +          (t ""))))
>      (if space-before
>          ;; Move space from the end to the beginning.
>          (replace-regexp-in-string "\\(.*\\) \\'" " \\1" description)

Thanks Kaushal! It looks good to me.


reply via email to

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