]> git.eshelyaron.com Git - emacs.git/commitdiff
(dun-load-d, dun-eval): Use eval-buffer.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Wed, 5 Jul 2006 07:35:46 +0000 (07:35 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Wed, 5 Jul 2006 07:35:46 +0000 (07:35 +0000)
lisp/play/dunnet.el

index 2c6a75da03e0caf8c2af141514c06bbca327b432..ae8a62c48f1019c5fa2caa290c387bec97a80615 100644 (file)
@@ -1304,7 +1304,7 @@ for a moment, then straighten yourself up.
       (condition-case nil
          (dun-rot13)
        (error (yank)))
-      (eval-current-buffer)
+      (eval-buffer)
       (kill-buffer (current-buffer)))
       (switch-to-buffer old-buffer)
     result))
@@ -2576,7 +2576,7 @@ treasures for points?" "4" "four")
     (insert ")")
     (setq eval-error nil)
     (condition-case nil
-       (eval-current-buffer)
+       (eval-buffer)
       (error (setq eval-error t)))
     (kill-buffer (current-buffer))
     (switch-to-buffer "*dungeon*")