xahlee / xah-fly-keys

the most efficient keybinding for emacs
http://xahlee.info/emacs/misc/xah-fly-keys.html
484 stars 83 forks source link

Replace nested if's and when's with cond's; shorten one funcall #99

Closed akater closed 4 years ago

akater commented 4 years ago

Nested ifs and whens is certainly not a good style.

xahlee commented 4 years ago

thanks for the code. I'd prefer nested if, because they are binary tree logic. Unless the tree is one sided (like all if is on the tail), i'd think condition is better.

xahlee commented 4 years ago

sorry have to reject.