]> git.eshelyaron.com Git - emacs.git/commit
Replace nested ifs with cond
authorMark Oteiza <mvoteiza@udel.edu>
Mon, 20 Feb 2017 02:31:22 +0000 (21:31 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Mon, 20 Feb 2017 03:00:10 +0000 (22:00 -0500)
commit0db5ba48b294640774262b01e2f9abc9cbf23d31
tree0676b1751978393f2d79ba8d72188e124355be29
parentc8d14cfc6c2d19077d137c7e917fbb4f104de222
Replace nested ifs with cond

* lisp/play/dunnet.el (dun-messages, dun-describe-room, dun-examine):
(dun-eat, dun-put-objs, dun-turn, dun-press, dun-ls, dun-cd): Use when
and cond where appropriate.
(dun-sauna-heat): Accept sauna level as an argument.  Use cond.
(dun-take): Use null and dun-mprincl.
(dun-inven-weight, dun-load-d): Reformat.
(dun-remove-obj-from-inven, dun-remove-obj-from-room): Nix setq to nil.
lisp/play/dunnet.el