diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-03-21 02:26:37 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-03-21 02:28:20 +0100 |
commit | e9e691093ab843911b0ac7a9a9188d477415db2e (patch) | |
tree | 4414d677bf68d8d634ea57b64a609eb3fcd0564f /lisp/tutorial.el | |
parent | f27a9a341ffc19b1178b2df7eac4ab0730bae961 (diff) | |
download | emacs-e9e691093ab843911b0ac7a9a9188d477415db2e.tar.gz emacs-e9e691093ab843911b0ac7a9a9188d477415db2e.tar.bz2 emacs-e9e691093ab843911b0ac7a9a9188d477415db2e.zip |
* lisp/tutorial.el: Use lexical-binding.
Diffstat (limited to 'lisp/tutorial.el')
-rw-r--r-- | lisp/tutorial.el | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lisp/tutorial.el b/lisp/tutorial.el index 57e5570d537..186bf35fe7e 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el @@ -1,4 +1,4 @@ -;;; tutorial.el --- tutorial for Emacs +;;; tutorial.el --- tutorial for Emacs -*- lexical-binding: t -*- ;; Copyright (C) 2006-2021 Free Software Foundation, Inc. @@ -25,10 +25,6 @@ ;; Code for running the Emacs tutorial. -;;; History: - -;; File was created 2006-09. - ;;; Code: (require 'help-mode) ;; for function help-buffer @@ -517,8 +513,8 @@ where (list "more info" 'current-binding key-fun def-fun key where)) nil)) - (add-to-list 'changed-keys - (list key def-fun def-fun-txt where remark nil)))))) + (push (list key def-fun def-fun-txt where remark nil) + changed-keys))))) changed-keys)) (defun tutorial--key-description (key) @@ -768,7 +764,7 @@ Run the Viper tutorial? ")) (if (fboundp 'viper-tutorial) (if (y-or-n-p (concat prompt1 prompt2)) (progn (message "") - (funcall 'viper-tutorial 0)) + (funcall #'viper-tutorial 0)) (message "Tutorial aborted by user")) (message prompt1))) (let* ((lang (cond |