changeset 33133:e3d7bf8b5a51

(Info-insert-dir): Don't include blank lines at beginning of additional dir files (one is added automatically).
author Miles Bader <miles@gnu.org>
date Thu, 02 Nov 2000 01:21:11 +0000
parents 73ec1ee4f829
children 7dc07c222f75
files lisp/info.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Wed Nov 01 23:31:59 2000 +0000
+++ b/lisp/info.el	Thu Nov 02 01:21:11 2000 +0000
@@ -772,6 +772,8 @@
 	    (while (re-search-forward "^\\* Menu:" nil t)
 	      (let (beg nodename end)
 		(forward-line 1)
+		(while (and (eolp) (not (eobp)))
+		  (forward-line 1))
 		(setq beg (point))
 		(or (search-backward "\n\^_" nil 'move)
 		    (looking-at "\^_")