From: Vinicius Jose Latorre Date: Wed, 17 Oct 2007 21:09:56 +0000 (+0000) Subject: Display message when tutorial position is not saved X-Git-Tag: emacs-pretest-23.0.90~10277 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57581fccfe5e3a879853efe9fb685d45b9c5b63b;p=emacs.git Display message when tutorial position is not saved --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 11e82c703a3..77740d1f910 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/tutorial.el b/lisp/tutorial.el index 26fb0e503f7..4913da63f5c 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el @@ -665,7 +665,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)))))