diff options
author | Alan Pearce | 2014-05-31 17:45:05 +0100 |
---|---|---|
committer | Alan Pearce | 2014-05-31 17:45:05 +0100 |
commit | fbf0bb2fb22697ea5135542837dcb12181817321 (patch) | |
tree | c1ba93fe839832808ddcfe6b52f52e0fba9ce69d /tag-emacs | |
parent | 08aea4ba64f3a076b51c9da88be619aa96fa90a4 (diff) | |
download | dotfiles-fbf0bb2fb22697ea5135542837dcb12181817321.tar.lz dotfiles-fbf0bb2fb22697ea5135542837dcb12181817321.tar.zst dotfiles-fbf0bb2fb22697ea5135542837dcb12181817321.zip |
Emacs: fix tramp proxy for local machine
Incorrect quoting form
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index cfa417e..cc1048f 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -300,7 +300,7 @@ (member method '("su" "sudo"))))))) tramp-shell-prompt-pattern "\\(?:^\\| \\)[^#$%>\n]*#?[#$%>›] *\\(\\[[0-9;]*[a-zA-Z] *\\)*") (add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" (concat "/" tramp-default-method ":%h:"))) - (add-to-list 'tramp-default-proxies-alist '((regexp-quote (system-name)) nil nil)) + (add-to-list 'tramp-default-proxies-alist `(,(regexp-quote (system-name)) nil nil)) (add-to-list 'tramp-default-proxies-alist '("localhost" nil nil)) (add-to-list 'tramp-default-proxies-alist '("router" nil nil)))) |