xahlee / xah-fly-keys

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

Refactor + documentation rewording #140

Closed ghost closed 2 years ago

ghost commented 2 years ago

Mostly this is removing space around (). I've tried to reword/format documentation so it's (hopefully) easier to understand.

Changed (when (not into (unless.

Removed double up setting $cmdStr in `xah-run-current-file'.

Changed (if xah-fly-key-current-layout nil into (unless xah-fly-key-current-layout.

Escape the ' with \\= in `xah-fly--define-keys' so it shows correct. https://www.gnu.org/software/emacs/manual/html_node/elisp/Text-Quoting-Style.html

xahlee commented 2 years ago

sorry. sometimes i am pretty late. i haven't looked at the pull request. anyway, i don't like unless. it confuses the logic for me.