--- tramp-2.1.18-orig/texi/tramp.texi +++ tramp-2.1.18/texi/tramp.texi @@ -3339,7 +3339,7 @@ @example #!/bin/sh -emacsclient @trampfn{ssh, `whoami`, `hostname --fqdn`, $1} +emacsclient @trampfn{ssh, $(whoami), $(hostname --fqdn), $1} @end example Then you must set the environment variable @code{EDITOR} pointing to