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


From: Michael Cadilhac
Subject: [Emacs-diffs] Changes to emacs/lisp/man.el,v
Date: Thu, 10 May 2007 11:54:03 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Michael Cadilhac <cadilhac>     07/05/10 11:54:02

Index: man.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/man.el,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -b -r1.167 -r1.168
--- man.el      24 Mar 2007 09:43:07 -0000      1.167
+++ man.el      10 May 2007 11:54:02 -0000      1.168
@@ -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]