# HG changeset patch # User Vinicius Jose Latorre # Date 1192655396 0 # Node ID bb920aebb078d52b5e1b9ec452ed47964b32cf04 # Parent 1fbaddcbc4ecd1da96001e94ab3de5a4a7e3b1ee Display message when tutorial position is not saved diff -r 1fbaddcbc4ec -r bb920aebb078 lisp/ChangeLog --- 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 + + * tutorial.el (tutorial--save-tutorial): Display message when tutorial + position is not saved. + 2007-10-17 Reiner Steib * doc-view.el: Mention xpdf. Fix spelling of Ghostscript. diff -r 1fbaddcbc4ec -r bb920aebb078 lisp/tutorial.el --- 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)))))