[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14169: vc: [bzr] Small nuissance when invoking 'log-view-diff-change
From: |
Glenn Morris |
Subject: |
bug#14169: vc: [bzr] Small nuissance when invoking 'log-view-diff-changeset' |
Date: |
Thu, 25 Apr 2013 01:12:53 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Maybe this is good enough in practice:
*** lisp/vc/log-view.el 2013-01-01 09:11:05 +0000
--- lisp/vc/log-view.el 2013-04-25 05:07:46 +0000
***************
*** 317,323 ****
result)
(save-excursion
(when pos (goto-char pos))
! (forward-line 1)
(while looping
(setq pos (re-search-backward log-view-message-re nil 'move)
looping (and pos (log-view-inside-comment-p (point)))))
--- 317,324 ----
result)
(save-excursion
(when pos (goto-char pos))
! (forward-line 0)
! (forward-line (if (looking-at "-\\{20,\\}$") 2 1))
(while looping
(setq pos (re-search-backward log-view-message-re nil 'move)
looping (and pos (log-view-inside-comment-p (point)))))