2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
+ * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
+
* tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
* textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
(cond ((eq which-diff 'after) (1+ diff-no))
((eq which-diff 'before) diff-no)
- ((< (abs (count-lines pos (max 1 prev-end)))
- (abs (count-lines pos (max 1 beg))))
+ ((< (abs (count-lines pos (max (point-min) prev-end)))
+ (abs (count-lines pos (max (point-min) beg))))
diff-no) ; choose prev difference
(t
(1+ diff-no))) ; choose next difference