summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-05-31 17:45:05 +0100
committerAlan Pearce2014-05-31 17:45:05 +0100
commitfbf0bb2fb22697ea5135542837dcb12181817321 (patch)
treec1ba93fe839832808ddcfe6b52f52e0fba9ce69d
parent08aea4ba64f3a076b51c9da88be619aa96fa90a4 (diff)
downloadnixfiles-fbf0bb2fb22697ea5135542837dcb12181817321.tar.lz
nixfiles-fbf0bb2fb22697ea5135542837dcb12181817321.tar.zst
nixfiles-fbf0bb2fb22697ea5135542837dcb12181817321.zip
Emacs: fix tramp proxy for local machine
Incorrect quoting form
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index cfa417e8..cc1048f9 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))))