;;; dunnet.el --- text adventure for Emacs
;; Copyright (C) 1992, 1993, 2001, 2002, 2003, 2004,
-;; 2005 Free Software Foundation, Inc.
+;; 2005, 2006, 2007 Free Software Foundation, Inc.
;; Author: Ron Schnell <ronnie@driver-aces.com>
;; Created: 25 Jul 1992
- If you go down a hole in the floor without an aid such as a ladder,
you probably won't be able to get back up the way you came, if at all.
-- To run this game in batch mode (no emacs window), use:
+- To run this game in batch mode (no Emacs window), use:
emacs -batch -l dunnet
NOTE: This game *should* be run in batch mode!
(condition-case nil
(dun-rot13)
(error (yank)))
- (eval-current-buffer)
+ (eval-buffer)
(kill-buffer (current-buffer)))
(switch-to-buffer old-buffer)
result))
(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*")