diff options
author | Tim King <kingtim@gmail.com> | 2013-02-04 04:08:04 -0800 |
---|---|---|
committer | Tim King <kingtim@gmail.com> | 2013-02-04 04:08:04 -0800 |
commit | e44a1f87c07025d490ab07e09444395572ffb461 (patch) | |
tree | 834b9cd2f9644a80ea741fd1f46c8a53ebf326a4 /README.md | |
parent | ce65034ad9c279adeb284329af585f310323e663 (diff) |
Macroexpand form at point.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -224,8 +224,8 @@ and it expects `clojure.pprint` to have been required already * <kbd>C-M-x</kbd>: Evaluate the top level form under point and display the result in the echo area. If invoked with a prefix argument, insert the result into the current buffer. * <kbd>C-c C-r</kbd>: Evaluate the region and display the result in the echo area. * <kbd>C-c C-b</kbd>: Interrupt any pending evaluations. -* <kbd>C-c C-m</kbd>: Invoke macroexpand-1 on the form preceding point and display the result in a macroexpansion buffer. If invoked with a prefix argument, macroexpand is used instead of macroexpand-1. -* <kbd>C-c M-m</kbd>: Invoke clojure.walk/macroexpand-all on the form preceding point and display the result in a macroexpansion buffer. +* <kbd>C-c C-m</kbd>: Invoke macroexpand-1 on the form at point and display the result in a macroexpansion buffer. If invoked with a prefix argument, macroexpand is used instead of macroexpand-1. +* <kbd>C-c M-m</kbd>: Invoke clojure.walk/macroexpand-all on the form at point and display the result in a macroexpansion buffer. * <kbd>C-c C-n</kbd>: Eval the ns form. * <kbd>C-c M-n</kbd>: Switch the namespace of the repl buffer to the namespace of the current buffer. * <kbd>C-c C-z</kbd>: Select the repl buffer. @@ -261,8 +261,8 @@ uses the same search pattern (even if the current input has changed). ### Macroexpansion buffer commands: -* <kbd>C-c C-m</kbd>: Invoke macroexpand-1 on the form preceding point and replace the original form with its expansion. If invoked with a prefix argument, macroexpand is used instead of macroexpand-1. -* <kbd>C-c M-m</kbd>: Invoke clojure.walk/macroexpand-all on the form preceding point and replace the original form with its expansion. +* <kbd>C-c C-m</kbd>: Invoke macroexpand-1 on the form at point and replace the original form with its expansion. If invoked with a prefix argument, macroexpand is used instead of macroexpand-1. +* <kbd>C-c M-m</kbd>: Invoke clojure.walk/macroexpand-all on the form at point and replace the original form with its expansion. * <kbd>g</kbd>: The prior macroexpansion is performed again and the current contents of the macroexpansion buffer are replaced with the new expansion. * <kbd>C-/</kbd>, <kbd>C-x u</kbd>: Undo the last inplace expansion performed in the macroexpansion buffer. |