summaryrefslogtreecommitdiff
path: root/lisp/tutorial.el
diff options
context:
space:
mode:
authorVinicius Jose Latorre <viniciusjl@ig.com.br>2007-10-17 21:09:56 +0000
committerVinicius Jose Latorre <viniciusjl@ig.com.br>2007-10-17 21:09:56 +0000
commit57581fccfe5e3a879853efe9fb685d45b9c5b63b (patch)
tree4500b15faf3c47801fab344a79822e90d9facf8c /lisp/tutorial.el
parent4b378e754612c321d72756786ecdbcba44f9e423 (diff)
downloademacs-57581fccfe5e3a879853efe9fb685d45b9c5b63b.tar.gz
Display message when tutorial position is not saved
Diffstat (limited to 'lisp/tutorial.el')
-rw-r--r--lisp/tutorial.el3
1 files changed, 2 insertions, 1 deletions
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)))))