Remove extra space insertion.
An extra space was being inserted after the function name when a lambda
is refactored to top level function which is not being immediately
applied to arguments.
diff --git a/elisp/shm-context-menu.el b/elisp/shm-context-menu.el
index b465fa5..02a41a4 100644
--- a/elisp/shm-context-menu.el
+++ b/elisp/shm-context-menu.el
@@ -66,7 +66,7 @@
(lambda-body (shm-query-lambda-body current-node))
(current-top-level-node (cdr (shm-get-parent-top-level-decl current-node-pair)))
(replacement (concat function-name " " free-variables)))
- (shm-replace-node-syntax current-node replacement)
+ (shm-replace-node-syntax current-node (chomp replacement))
(goto-char (shm-node-end current-top-level-node))
(insert ?\n?\n)
(insert function-name " " free-variables