* tutorial.el (help-with-tutorial): Use TUTORIAL.xx for the tutorial

buffer, since that is what the tutorial text assumes.
This commit is contained in:
Chong Yidong 2009-05-12 16:42:20 +00:00
parent 7951ca5346
commit b39d28c92a
2 changed files with 3 additions and 4 deletions

View file

@ -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>

View file

@ -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