about summary refs log tree commit diff
path: root/overlays/patches/nixpkgs-wayland/pkgs/emacs/tramp-detect-wrapped-gvfsd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/patches/nixpkgs-wayland/pkgs/emacs/tramp-detect-wrapped-gvfsd.patch')
-rw-r--r--overlays/patches/nixpkgs-wayland/pkgs/emacs/tramp-detect-wrapped-gvfsd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/overlays/patches/nixpkgs-wayland/pkgs/emacs/tramp-detect-wrapped-gvfsd.patch b/overlays/patches/nixpkgs-wayland/pkgs/emacs/tramp-detect-wrapped-gvfsd.patch
new file mode 100644
index 000000000000..31ba4ff75778
--- /dev/null
+++ b/overlays/patches/nixpkgs-wayland/pkgs/emacs/tramp-detect-wrapped-gvfsd.patch
@@ -0,0 +1,12 @@
+diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el
+index 6467d8f88b..2163c28af6 100644
+--- a/lisp/net/tramp-gvfs.el
++++ b/lisp/net/tramp-gvfs.el
+@@ -127,6 +127,7 @@
+ 	 (or ;; Until Emacs 25, `process-attributes' could crash Emacs
+ 	     ;; for some processes.  Better we don't check.
+ 	     (<= emacs-major-version 25)
++	     (tramp-process-running-p ".gvfds-fuse-wrapped")
+ 	     (tramp-process-running-p "gvfs-fuse-daemon")
+ 	     (tramp-process-running-p "gvfsd-fuse"))))
+   "Non-nil when GVFS is available.")