Commit ee916ed0 authored by Daniel Colascione's avatar Daniel Colascione

Explain recent change to log-view.el

parent de7ce2d1
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)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment