changeset 85368:bb920aebb078

Display message when tutorial position is not saved
author Vinicius Jose Latorre <viniciusjl@ig.com.br>
date Wed, 17 Oct 2007 21:09:56 +0000
parents 1fbaddcbc4ec
children 5b96a46cc08a
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 20:58:02 2007 +0000
+++ b/lisp/ChangeLog	Wed Oct 17 21:09:56 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  Reiner Steib  <Reiner.Steib@gmx.de>
 
 	* doc-view.el: Mention xpdf.  Fix spelling of Ghostscript.
--- a/lisp/tutorial.el	Wed Oct 17 20:58:02 2007 +0000
+++ b/lisp/tutorial.el	Wed Oct 17 21:09:56 2007 +0000
@@ -665,7 +665,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)))))