From 63b9e28d052daf33d872a4df06b1fa880c7a3549 Mon Sep 17 00:00:00 2001 From: Vinicius Jose Latorre Date: Wed, 17 Oct 2007 21:10:34 +0000 Subject: Display message when tutorial position is not saved --- lisp/tutorial.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/tutorial.el') diff --git a/lisp/tutorial.el b/lisp/tutorial.el index bfa7f42d8ab..a7f239d7499 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el @@ -656,7 +656,8 @@ position where the display of changed bindings was inserted." ;; This runs in a hook so protect it: (condition-case err (if (y-or-n-p "Save your position in the tutorial? ") - (tutorial--save-tutorial-to (tutorial--saved-file))) + (tutorial--save-tutorial-to (tutorial--saved-file)) + (message "Tutorial position not saved")) (error (message "Error saving tutorial state: %s" (error-message-string err))))) -- cgit v1.2.1