Commit e12d3ded authored by Thien-Thi Nguyen's avatar Thien-Thi Nguyen
Browse files

(dun-load-d, dun-eval): Use eval-buffer.

parent 98f46e1b
......@@ -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*")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment