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:
parent
2e03898b12
commit
63b9e28d05
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue