Message ID | 87fsm3kc2m.fsf@ditto.jhoto.spork.org |
---|---|
State | New |
Headers | show |
Series | [bug#55081,v1] Allow Guix root-dir overrides when working via Tramp. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
diff --git a/.dir-locals.el b/.dir-locals.el index 09e19223d5..3b75989133 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -29,7 +29,7 @@ ;; Hence the following "when", which might otherwise be unnecessary; ;; it prevents causing an error when root-dir-unexpanded is nil. (when root-dir-unexpanded - (let* ((root-dir (expand-file-name root-dir-unexpanded)) + (let* ((root-dir (file-local-name (expand-file-name root-dir-unexpanded))) ;; Workaround for bug https://issues.guix.gnu.org/43818. (root-dir* (directory-file-name root-dir)))