changeset 103213:9dae7d399c7d

* tutorial.el (help-with-tutorial): Don't use text mode, since the tutorial text assume Fundamental mode.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 12 May 2009 16:06:07 +0000
parents c27b1aa25453
children 51502f108f8e
files lisp/ChangeLog lisp/tutorial.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue May 12 15:27:57 2009 +0000
+++ b/lisp/ChangeLog	Tue May 12 16:06:07 2009 +0000
@@ -1,3 +1,8 @@
+2009-05-12  Chong Yidong  <cyd@stupidchicken.com>
+
+	* tutorial.el (help-with-tutorial): Don't use text mode, since the
+	tutorial text assume Fundamental mode.
+
 2009-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* simple.el (completion-setup-function):
--- a/lisp/tutorial.el	Tue May 12 15:27:57 2009 +0000
+++ b/lisp/tutorial.el	Tue May 12 16:06:07 2009 +0000
@@ -807,7 +807,7 @@
       ;; (Re)build the tutorial buffer if it is not ok
       (unless old-tut-is-ok
         (switch-to-buffer (get-buffer-create tut-buf-name))
-        (unless old-tut-buf (text-mode))
+        ;; (unless old-tut-buf (text-mode))
         (unless lang (error "Variable lang is nil"))
         (setq tutorial--lang lang)
         (setq old-tut-file (file-exists-p (tutorial--saved-file)))