emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] emacs-25 197a6bc: Fix horizontal scrolling during Isea


From: Stefan Monnier
Subject: Re: [Emacs-diffs] emacs-25 197a6bc: Fix horizontal scrolling during Isearch
Date: Sat, 08 Oct 2016 10:26:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

>     * lisp/isearch.el (isearch-update): Compute the window's body
>     width in a way that is correct when there are no fringes.
>     (Bug#24584)
[...]
> -                 (>= (car visible-p) (window-body-width nil t)))
> +                 (>= (car visible-p)
> +                        (* (window-max-chars-per-line) (frame-char-width))))

Hmm... shouldn't window-body-width return the right answer even when
there are no fringes?


        Stefan



reply via email to

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