summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Jose Latorre <viniciusjl@ig.com.br>2007-10-17 21:10:34 +0000
committerVinicius Jose Latorre <viniciusjl@ig.com.br>2007-10-17 21:10:34 +0000
commit63b9e28d052daf33d872a4df06b1fa880c7a3549 (patch)
tree43c7cfd8969c838d3cad2a035aca7b9c7eac31e2
parent2e03898b123fcc4754aef8280a6369b14db2f6a0 (diff)
Display message when tutorial position is not saved
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/tutorial.el3
2 files changed, 7 insertions, 1 deletions
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 <aaronh@garden.org>
+
+ * tutorial.el (tutorial--save-tutorial): Display message when tutorial
+ position is not saved.
+
2007-10-17 Chong Yidong <cyd@stupidchicken.com>
* 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)))))