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

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

bug#20608: 25.0.50; vc-git-log-view-mode inserts "Show 2X entries" at bo


From: Dmitry Gutov
Subject: bug#20608: 25.0.50; vc-git-log-view-mode inserts "Show 2X entries" at bob when interrupted
Date: Tue, 19 May 2015 16:03:45 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 05/19/2015 04:01 PM, martin rudalics wrote:
 > +                (if (not win)
 > +                    (goto-char vc-sentinel-movepoint)
 > +                  (with-selected-window win
 > +                    (goto-char vc-sentinel-movepoint)))))))))))

How about

                 (if win
                     (set-window-point win vc-sentinel-movepoint)
           (goto-char vc-sentinel-movepoint))

instead?

Looks OK to me. But it's not relevant to this bug or the proposed patch.





reply via email to

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