diff options
| author | Vinicius Jose Latorre | 2007-10-17 21:10:34 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2007-10-17 21:10:34 +0000 |
| commit | 63b9e28d052daf33d872a4df06b1fa880c7a3549 (patch) | |
| tree | 43c7cfd8969c838d3cad2a035aca7b9c7eac31e2 /lisp/tutorial.el | |
| parent | 2e03898b123fcc4754aef8280a6369b14db2f6a0 (diff) | |
| download | emacs-63b9e28d052daf33d872a4df06b1fa880c7a3549.tar.gz emacs-63b9e28d052daf33d872a4df06b1fa880c7a3549.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 bfa7f42d8ab..a7f239d7499 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el | |||
| @@ -656,7 +656,8 @@ position where the display of changed bindings was inserted." | |||
| 656 | ;; This runs in a hook so protect it: | 656 | ;; This runs in a hook so protect it: |
| 657 | (condition-case err | 657 | (condition-case err |
| 658 | (if (y-or-n-p "Save your position in the tutorial? ") | 658 | (if (y-or-n-p "Save your position in the tutorial? ") |
| 659 | (tutorial--save-tutorial-to (tutorial--saved-file))) | 659 | (tutorial--save-tutorial-to (tutorial--saved-file)) |
| 660 | (message "Tutorial position not saved")) | ||
| 660 | (error (message "Error saving tutorial state: %s" | 661 | (error (message "Error saving tutorial state: %s" |
| 661 | (error-message-string err))))) | 662 | (error-message-string err))))) |
| 662 | 663 | ||