diff lisp/tutorial.el @ 79129:2d9343a3760e

Display message when tutorial position is not saved
author Vinicius Jose Latorre <viniciusjl@ig.com.br>
date Wed, 17 Oct 2007 21:10:34 +0000
parents 9355f9b7bbff
children 73661ddc7ac7
line wrap: on
line diff
--- a/lisp/tutorial.el	Wed Oct 17 19:21:36 2007 +0000
+++ b/lisp/tutorial.el	Wed Oct 17 21:10:34 2007 +0000
@@ -656,7 +656,8 @@
   ;; 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)))))