[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19101: 25.0.50; vc-print-log puts wrong buffer into log-view-mode
From: |
Eli Zaretskii |
Subject: |
bug#19101: 25.0.50; vc-print-log puts wrong buffer into log-view-mode |
Date: |
Wed, 19 Nov 2014 18:14:27 +0200 |
> From: Ivan Shmakov <ivan@siamics.net>
> Date: Wed, 19 Nov 2014 06:53:15 +0000
>
> >>>>> Richard Copley <rcopley@gmail.com> writes:
>
> > Visit a file under Subversion or RCS (not Git or Bazaar) and invoke
> > `vc-print-log'. The log buffer should be put into log-view-mode, but
> > it isn't. The buffer visiting the file is put into log-view-mode
> > instead.
>
> This is likely to be caused by VC assuming that the ‘print-log’
> backend function leaves the log buffer as the current one.
No, it's because Stefan moved the call to pop-to-buffer so that the
part that turned on the mode was running in the wrong buffer.
As for print-log backend function, those that I saw run inside
with-temp-buffer, so they don't switch buffers.
bug#19101: 25.0.50; `vc-print-log' puts wrong buffer into `log-view-mode', Eli Zaretskii, 2014/11/19