diff options
-rw-r--r-- | lisp/ChangeLog | 3 | ||||
-rw-r--r-- | lisp/tutorial.el | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2e8ec2b913b..3cf1f41ecec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,7 +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. + tutorial text assume Fundamental mode. Use TUTORIAL.xx for the + tutorial buffer, since that is what the tutorial text assumes. 2009-05-11 Stefan Monnier <monnier@iro.umontreal.ca> diff --git a/lisp/tutorial.el b/lisp/tutorial.el index 242d0fe3a32..7df71e02af8 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el @@ -773,9 +773,7 @@ Run the Viper tutorial? ")) current-language-environment "English"))) (filename (get-language-info lang 'tutorial)) - ;; Choose a buffer name including the language so that - ;; several languages can be tested simultaneously: - (tut-buf-name (concat "TUTORIAL (" lang ")")) + (tut-buf-name filename) (old-tut-buf (get-buffer tut-buf-name)) (old-tut-win (when old-tut-buf (get-buffer-window old-tut-buf t))) (old-tut-is-ok (when old-tut-buf |