mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Evaluate file-local variables in tutorials.
tutorial.el (help-with-tutorial): Hack safe file-local variables after reading the tutorial.
This commit is contained in:
parent
0e9c8657ca
commit
822775bf51
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2010-08-07 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* tutorial.el (help-with-tutorial): Hack safe file-local variables
|
||||
after reading the tutorial.
|
||||
|
||||
2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
|
||||
|
||||
* progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
|
||||
|
|
|
|||
|
|
@ -829,6 +829,8 @@ Run the Viper tutorial? "))
|
|||
(if old-tut-file
|
||||
(progn
|
||||
(insert-file-contents (tutorial--saved-file))
|
||||
(let ((enable-local-variables :safe))
|
||||
(hack-local-variables))
|
||||
(goto-char (point-min))
|
||||
(setq old-tut-point
|
||||
(string-to-number
|
||||
|
|
@ -844,6 +846,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))
|
||||
(hack-local-variables))
|
||||
(forward-line)
|
||||
(setq tutorial--point-before-chkeys (point-marker)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue