emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/man.el,v [EMACS_22_BASE]


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/man.el,v [EMACS_22_BASE]
Date: Mon, 04 Jun 2007 23:42:11 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Chong Yidong <cyd>      07/06/04 23:42:11

Index: man.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/man.el,v
retrieving revision 1.167
retrieving revision 1.167.2.1
diff -u -b -r1.167 -r1.167.2.1
--- man.el      24 Mar 2007 09:43:07 -0000      1.167
+++ man.el      4 Jun 2007 23:42:10 -0000       1.167.2.1
@@ -1296,7 +1296,9 @@
        (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)."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]