I'm trying to configure a remote path when using tramp. I have added (add-to-list 'tramp-remote-path "/root/.cargo/bin")
to my init.el
I get the following error:
Symbol's value as variable is void: tramp-remote-path
The tramp docs suggest this is the correct pattern: https://www.gnu.org/software/emacs/manual/html_node/tramp/Remote-programs.html
tramp-version
is 2.4.3.27.1
Emacs version is: GNU Emacs 27.1 (build 1, aarch64-apple-darwin20.3.0, NS appkit-2022.30 Version 11.2.1 (Build 20D74)) of 2021-03-07
I can do apropos-user-option
tramp-remote-path
and find it in the configuration options.