]> git.eshelyaron.com Git - emacs.git/commit
Replace more nested ifs with cond
authorMark Oteiza <mvoteiza@udel.edu>
Wed, 15 Mar 2017 04:42:25 +0000 (00:42 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Wed, 15 Mar 2017 04:42:25 +0000 (00:42 -0400)
commitd5260473dea4a86907614cf5fae9ec43f6cdccd4
treea887ffde3924f88d44775c89be98d7b7b1838106
parentc66aaa61639e72a70a4f2c4bc73645048caebe53
Replace more nested ifs with cond

This is a continuation of 0db5ba4 "Replace nested ifs with cond".
* lisp/play/dunnet.el (dun-special-object, dun-inven, dun-drop):
(dun-drop-check, dun-swim, dun-break): Use when and cond where
appropriate.
(dun-examine): Fix indentation.
(dun-doverb): Use when.
(dun-read-line): Refactor.
lisp/play/dunnet.el