X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/283ccc1841a43a9426b7fa4c397fc9593ae4022b..c80c6166fbc20ffde6a2b407507226cac37cd9c4:/lisp/tutorial.el diff --git a/lisp/tutorial.el b/lisp/tutorial.el index 0ac315ac6d..6961fafb3a 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el @@ -4,6 +4,7 @@ ;; Maintainer: FSF ;; Keywords: help, internal +;; Package: emacs ;; This file is part of GNU Emacs. @@ -252,7 +253,7 @@ LEFT and RIGHT are the elements to compare." ;; * INSERTING AND DELETING ;; C-u 8 * to insert ********. (delete-backward-char "\d") - (delete-char [?\C-d]) + (delete-forward-char [?\C-d]) (backward-kill-word [?\M-\d]) (kill-word [?\M-d]) (kill-line [?\C-k]) @@ -829,6 +830,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 +847,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)))