]> git.eshelyaron.com Git - emacs.git/commitdiff
(help-with-tutorial): Delete title line.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Wed, 30 Mar 2005 15:44:40 +0000 (15:44 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Wed, 30 Mar 2005 15:44:40 +0000 (15:44 +0000)
lisp/help-fns.el

index 4bf0a4775a083f65798352345fb3a40ca833d655..9231f959c644c674d548844224246ee30af42f42 100644 (file)
@@ -65,6 +65,8 @@ With ARG, you are asked to choose which language."
       (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,