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 | |
| parent | 2e03898b123fcc4754aef8280a6369b14db2f6a0 (diff) | |
| download | emacs-63b9e28d052daf33d872a4df06b1fa880c7a3549.tar.gz emacs-63b9e28d052daf33d872a4df06b1fa880c7a3549.zip | |
Display message when tutorial position is not saved
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/tutorial.el | 3 |
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 @@ | |||
| 1 | 2007-10-17 Aaron Hawley <aaronh@garden.org> | ||
| 2 | |||
| 3 | * tutorial.el (tutorial--save-tutorial): Display message when tutorial | ||
| 4 | position is not saved. | ||
| 5 | |||
| 1 | 2007-10-17 Chong Yidong <cyd@stupidchicken.com> | 6 | 2007-10-17 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * longlines.el (longlines-wrap-follows-window-size): Integer value | 8 | * 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." | |||
| 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 | ||