Mercurial > emacs
changeset 71624:263c82655d46
(dun-load-d, dun-eval): Use eval-buffer.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Wed, 05 Jul 2006 07:35:46 +0000 |
parents | ef43d43a40be |
children | 22433275348d |
files | lisp/play/dunnet.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/play/dunnet.el Wed Jul 05 06:42:27 2006 +0000 +++ b/lisp/play/dunnet.el Wed Jul 05 07:35:46 2006 +0000 @@ -1304,7 +1304,7 @@ (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 @@ (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*")