changeset 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 31bc872ba784
children e30a5ff2205a
files lisp/ChangeLog lisp/tutorial.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Oct 17 19:21:36 2007 +0000
+++ b/lisp/ChangeLog	Wed Oct 17 21:10:34 2007 +0000
@@ -1,3 +1,8 @@
+2007-10-17  Aaron Hawley  <aaronh@garden.org>
+
+	* tutorial.el (tutorial--save-tutorial): Display message when tutorial
+	position is not saved.
+
 2007-10-17  Chong Yidong  <cyd@stupidchicken.com>
 
 	* longlines.el (longlines-wrap-follows-window-size): Integer value
--- 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)))))