diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2007-06-04 23:42:10 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2007-06-04 23:42:10 +0000 |
commit | 65e076827adb6c9c371b3a6f3ccddc47460a0dd9 (patch) | |
tree | 8c16ed4e7f403f53fb644da39ee610d5d6007ba3 /lisp/man.el | |
parent | 05d6ece7a354f2e2ddaee032713c96144f9a29fe (diff) | |
download | emacs-65e076827adb6c9c371b3a6f3ccddc47460a0dd9.tar.gz |
(Man-next-section): Don't consider the last line of the page as being
part of any section.
Diffstat (limited to 'lisp/man.el')
-rw-r--r-- | lisp/man.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/man.el b/lisp/man.el index 0484c032e34..e74f9734e51 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -1296,7 +1296,9 @@ The following key bindings are currently in effect in the buffer: (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)." |