changeset 61144:53d780372e20

(help-with-tutorial): Delete title line.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Wed, 30 Mar 2005 15:44:40 +0000
parents fe937402466e
children 73bfeffcb718
files lisp/help-fns.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-fns.el	Wed Mar 30 15:27:56 2005 +0000
+++ b/lisp/help-fns.el	Wed Mar 30 15:44:40 2005 +0000
@@ -65,6 +65,8 @@
       (insert-file-contents (expand-file-name filename data-directory))
       (hack-local-variables)
       (goto-char (point-min))
+      ;; The first line conventionally contains the title.
+      (delete-region (point) (progn (forward-line 1) (point)))
       (search-forward "\n<<")
       (beginning-of-line)
       ;; Convert the <<...>> line to the proper [...] line,