From 63b9e28d052daf33d872a4df06b1fa880c7a3549 Mon Sep 17 00:00:00 2001 From: Vinicius Jose Latorre Date: Wed, 17 Oct 2007 21:10:34 +0000 Subject: [PATCH] Display message when tutorial position is not saved --- lisp/ChangeLog | 5 +++++ lisp/tutorial.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7d1bf357f06..d875705e63e 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 Chong Yidong * longlines.el (longlines-wrap-follows-window-size): Integer value diff --git a/lisp/tutorial.el b/lisp/tutorial.el index bfa7f42d8ab..a7f239d7499 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el @@ -656,7 +656,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))))) -- 2.39.2