+2007-05-10 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
+
+ * man.el (Man-next-section): Don't consider the last line of the page
+ as being part of any section.
+
2007-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
* textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
(forward-line 1))
(if (re-search-forward Man-heading-regexp (point-max) t n)
(beginning-of-line)
- (goto-char (point-max)))))
+ (goto-char (point-max))
+ ;; The last line doesn't belong to any section.
+ (forward-line -1))))
(defun Man-previous-section (n)
"Move point to Nth previous section (default 1)."