]> git.eshelyaron.com Git - emacs.git/commitdiff
Display message when tutorial position is not saved
authorVinicius Jose Latorre <viniciusjl@ig.com.br>
Wed, 17 Oct 2007 21:10:34 +0000 (21:10 +0000)
committerVinicius Jose Latorre <viniciusjl@ig.com.br>
Wed, 17 Oct 2007 21:10:34 +0000 (21:10 +0000)
lisp/ChangeLog
lisp/tutorial.el

index 7d1bf357f0674de832b6770fd48a1a7cf3e0795a..d875705e63e84fda24efcbf4db4345946d3f0973 100644 (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
index bfa7f42d8ab529c70080dc5b43bdecb070f12c98..a7f239d74997750495b2e8b0d6a617d985ec77f6 100644 (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)))))