diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2006-07-05 07:35:46 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2006-07-05 07:35:46 +0000 |
commit | e12d3ded2a15857b1d75102f63df2083fb03bfa4 (patch) | |
tree | ddaa568c6082deb3f6a69b9e6e052028d6cf11e5 /lisp/play/dunnet.el | |
parent | 98f46e1b427d3f549933e3e122c046f292179cfa (diff) | |
download | emacs-e12d3ded2a15857b1d75102f63df2083fb03bfa4.tar.gz |
(dun-load-d, dun-eval): Use eval-buffer.
Diffstat (limited to 'lisp/play/dunnet.el')
-rw-r--r-- | lisp/play/dunnet.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/play/dunnet.el b/lisp/play/dunnet.el index 2c6a75da03e..ae8a62c48f1 100644 --- a/lisp/play/dunnet.el +++ b/lisp/play/dunnet.el @@ -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*") |