* lisp/tutorial.el (help-with-tutorial):
Ensure local variables don't happen to make the buffer read-only.
Fixes: debbugs:11127
+2012-03-30 Glenn Morris <rgm@gnu.org>
+
+ * tutorial.el (help-with-tutorial): Ensure local variables don't
+ happen to make the buffer read-only. (Bug#11127)
+
2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
(insert-file-contents (tutorial--saved-file))
(let ((enable-local-variables :safe))
(hack-local-variables))
+ (setq buffer-read-only nil) ; bug#11118
(goto-char (point-min))
(setq old-tut-point
(string-to-number
(insert-file-contents (expand-file-name filename tutorial-directory))
(let ((enable-local-variables :safe))
(hack-local-variables))
+ (setq buffer-read-only nil) ; bug#11118
(forward-line)
(setq tutorial--point-before-chkeys (point-marker)))