1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

Display message when tutorial position is not saved

This commit is contained in:
Vinicius Jose Latorre 2007-10-17 21:10:34 +00:00
parent 2e03898b12
commit 63b9e28d05
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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)))))