From: Chong Yidong Date: Tue, 12 May 2009 16:42:20 +0000 (+0000) Subject: * tutorial.el (help-with-tutorial): Use TUTORIAL.xx for the tutorial X-Git-Tag: emacs-pretest-23.0.94~59 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b39d28c92ac4cf75c0a5f0a2511403dee0238909;p=emacs.git * tutorial.el (help-with-tutorial): Use TUTORIAL.xx for the tutorial buffer, since that is what the tutorial text assumes. --- 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 * 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 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