summaryrefslogtreecommitdiff
path: root/lisp/tutorial.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-08-11 10:13:55 +0800
committerChong Yidong <cyd@gnu.org>2012-08-11 10:13:55 +0800
commit5725bd2cc0e691dadc31bd958f210b1bbcf17c49 (patch)
treea8faec22f21eff83d918076adcc9c8c49c4cc820 /lisp/tutorial.el
parent5723992258a8025e29ba9fcae923182fb5456426 (diff)
parent711f4590cddbc83c509c1c5e852ef4e528a39780 (diff)
downloademacs-5725bd2cc0e691dadc31bd958f210b1bbcf17c49.tar.gz
Merge from emacs-24; up to 2012-05-02T11:38:01Z!lekktu@gmail.com
Diffstat (limited to 'lisp/tutorial.el')
-rw-r--r--lisp/tutorial.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/tutorial.el b/lisp/tutorial.el
index e0e2a82fab9..64879e5cfd5 100644
--- a/lisp/tutorial.el
+++ b/lisp/tutorial.el
@@ -829,7 +829,8 @@ Run the Viper tutorial? "))
(if old-tut-file
(progn
(insert-file-contents (tutorial--saved-file))
- (let ((enable-local-variables :safe))
+ (let ((enable-local-variables :safe)
+ (enable-local-eval nil))
(hack-local-variables))
;; FIXME? What we actually want is to ignore dir-locals (?).
(setq buffer-read-only nil) ; bug#11118
@@ -848,7 +849,8 @@ Run the Viper tutorial? "))
(goto-char tutorial--point-before-chkeys)
(setq tutorial--point-before-chkeys (point-marker)))
(insert-file-contents (expand-file-name filename tutorial-directory))
- (let ((enable-local-variables :safe))
+ (let ((enable-local-variables :safe)
+ (enable-local-eval nil))
(hack-local-variables))
;; FIXME? What we actually want is to ignore dir-locals (?).
(setq buffer-read-only nil) ; bug#11118