diff options
| author | Vinicius Jose Latorre | 2007-10-17 21:09:56 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2007-10-17 21:09:56 +0000 |
| commit | 57581fccfe5e3a879853efe9fb685d45b9c5b63b (patch) | |
| tree | 4500b15faf3c47801fab344a79822e90d9facf8c /lisp/tutorial.el | |
| parent | 4b378e754612c321d72756786ecdbcba44f9e423 (diff) | |
| download | emacs-57581fccfe5e3a879853efe9fb685d45b9c5b63b.tar.gz emacs-57581fccfe5e3a879853efe9fb685d45b9c5b63b.zip | |
Display message when tutorial position is not saved
Diffstat (limited to 'lisp/tutorial.el')
| -rw-r--r-- | lisp/tutorial.el | 3 |
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." | |||
| 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 | ||