aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/tutorial.el
diff options
context:
space:
mode:
authorBill Wohler2013-02-18 10:11:43 -0800
committerBill Wohler2013-02-18 10:11:43 -0800
commit21733e4f154f8830fa568a347a0d6dbd59793c2b (patch)
tree3170dbbcdfafeb42f6c381d6b80b251e9f31b788 /lisp/tutorial.el
parent6d14beddb06b5ae86f9dd770a1661ebd24846f28 (diff)
parent587feed443522f738b65b57b22a31cc8a25525c5 (diff)
downloademacs-21733e4f154f8830fa568a347a0d6dbd59793c2b.tar.gz
emacs-21733e4f154f8830fa568a347a0d6dbd59793c2b.zip
Merge from trunk; up to 2013-02-18T01:30:27Z!monnier@iro.umontreal.ca.
Diffstat (limited to 'lisp/tutorial.el')
-rw-r--r--lisp/tutorial.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/tutorial.el b/lisp/tutorial.el
index 6f76068ea9d..39eb9e8b9aa 100644
--- a/lisp/tutorial.el
+++ b/lisp/tutorial.el
@@ -1,6 +1,6 @@
1;;; tutorial.el --- tutorial for Emacs 1;;; tutorial.el --- tutorial for Emacs
2 2
3;; Copyright (C) 2006-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2006-2013 Free Software Foundation, Inc.
4 4
5;; Maintainer: FSF 5;; Maintainer: FSF
6;; Keywords: help, internal 6;; Keywords: help, internal
@@ -829,10 +829,9 @@ Run the Viper tutorial? "))
829 (progn 829 (progn
830 (insert-file-contents (tutorial--saved-file)) 830 (insert-file-contents (tutorial--saved-file))
831 (let ((enable-local-variables :safe) 831 (let ((enable-local-variables :safe)
832 (enable-local-eval nil)) 832 (enable-local-eval nil)
833 (enable-dir-local-variables nil)) ; bug#11127
833 (hack-local-variables)) 834 (hack-local-variables))
834 ;; FIXME? What we actually want is to ignore dir-locals (?).
835 (setq buffer-read-only nil) ; bug#11118
836 (goto-char (point-min)) 835 (goto-char (point-min))
837 (setq old-tut-point 836 (setq old-tut-point
838 (string-to-number 837 (string-to-number
@@ -849,10 +848,9 @@ Run the Viper tutorial? "))
849 (setq tutorial--point-before-chkeys (point-marker))) 848 (setq tutorial--point-before-chkeys (point-marker)))
850 (insert-file-contents (expand-file-name filename tutorial-directory)) 849 (insert-file-contents (expand-file-name filename tutorial-directory))
851 (let ((enable-local-variables :safe) 850 (let ((enable-local-variables :safe)
852 (enable-local-eval nil)) 851 (enable-local-eval nil)
852 (enable-dir-local-variables nil)) ; bug#11127
853 (hack-local-variables)) 853 (hack-local-variables))
854 ;; FIXME? What we actually want is to ignore dir-locals (?).
855 (setq buffer-read-only nil) ; bug#11118
856 (forward-line) 854 (forward-line)
857 (setq tutorial--point-before-chkeys (point-marker))) 855 (setq tutorial--point-before-chkeys (point-marker)))
858 856