Commit b52efb9f authored by Michaël Cadilhac's avatar Michaël Cadilhac
Browse files

(Man-next-section): Don't consider the last line of the page as being

part of any section.
parent ed9bc8a2
2007-05-10 Micha,Ak(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> 2007-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
   
* textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
...@@ -1296,7 +1296,9 @@ The following key bindings are currently in effect in the buffer: ...@@ -1296,7 +1296,9 @@ The following key bindings are currently in effect in the buffer:
(forward-line 1)) (forward-line 1))
(if (re-search-forward Man-heading-regexp (point-max) t n) (if (re-search-forward Man-heading-regexp (point-max) t n)
(beginning-of-line) (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) (defun Man-previous-section (n)
"Move point to Nth previous section (default 1)." "Move point to Nth previous section (default 1)."
......
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