1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

Explain recent change to log-view.el

This commit is contained in:
Daniel Colascione 2014-01-06 22:00:16 -08:00
parent de7ce2d169
commit ee916ed038
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-01-07 Daniel Colascione <dancol@dancol.org>
* vc/log-view.el (log-view-beginning-of-defun): Add comment
explaining why we call `log-view-end-of-defun'.
2014-01-07 Chong Yidong <cyd@gnu.org>
* isearch.el (isearch-yank-char, isearch-yank-word)

View file

@ -431,6 +431,9 @@ It assumes that a log entry starts with a line matching
`log-view-message-re'."
(when (null arg) (setf arg 1))
(if (< arg 0)
;; In log view, the end of one defun is the beginning of the
;; next, so punting to log-view-end-of-defun is safe in this
;; context.
(log-view-end-of-defun (- arg))
(let ((found t))
(while (> arg 0)