aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2007-10-17 21:09:56 +0000
committerVinicius Jose Latorre2007-10-17 21:09:56 +0000
commit57581fccfe5e3a879853efe9fb685d45b9c5b63b (patch)
tree4500b15faf3c47801fab344a79822e90d9facf8c
parent4b378e754612c321d72756786ecdbcba44f9e423 (diff)
downloademacs-57581fccfe5e3a879853efe9fb685d45b9c5b63b.tar.gz
emacs-57581fccfe5e3a879853efe9fb685d45b9c5b63b.zip
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 11e82c703a3..77740d1f910 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-10-17 Aaron Hawley <aaronh@garden.org>
2
3 * tutorial.el (tutorial--save-tutorial): Display message when tutorial
4 position is not saved.
5
12007-10-17 Reiner Steib <Reiner.Steib@gmx.de> 62007-10-17 Reiner Steib <Reiner.Steib@gmx.de>
2 7
3 * doc-view.el: Mention xpdf. Fix spelling of Ghostscript. 8 * 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."
665 ;; This runs in a hook so protect it: 665 ;; This runs in a hook so protect it:
666 (condition-case err 666 (condition-case err
667 (if (y-or-n-p "Save your position in the tutorial? ") 667 (if (y-or-n-p "Save your position in the tutorial? ")
668 (tutorial--save-tutorial-to (tutorial--saved-file))) 668 (tutorial--save-tutorial-to (tutorial--saved-file))
669 (message "Tutorial position not saved"))
669 (error (message "Error saving tutorial state: %s" 670 (error (message "Error saving tutorial state: %s"
670 (error-message-string err))))) 671 (error-message-string err)))))
671 672