mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: emacs: Find real GVFS processes.
* gnu/packages/emacs.scm (emacs)[#:phases]<patch-program-file-names>: Expand calls to “tramp-compat-process-running-p” so that Guix wrappers are also matched.
This commit is contained in:
parent
269baba919
commit
f725279cdd
1 changed files with 6 additions and 0 deletions
|
@ -136,6 +136,12 @@ (define-public emacs
|
||||||
"lisp/progmodes/sh-script.el")
|
"lisp/progmodes/sh-script.el")
|
||||||
(("\"/bin/sh\"")
|
(("\"/bin/sh\"")
|
||||||
(format #f "~s" (which "sh"))))
|
(format #f "~s" (which "sh"))))
|
||||||
|
;; match ".gvfs-fuse-daemon-real" and ".gvfsd-fuse-real"
|
||||||
|
;; respectively when looking for GVFS processes.
|
||||||
|
(substitute* "lisp/net/tramp-gvfs.el"
|
||||||
|
(("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process)
|
||||||
|
(format #f "(or ~a (tramp-compat-process-running-p ~s))"
|
||||||
|
all (string-append "." process "-real"))))
|
||||||
#t))
|
#t))
|
||||||
(add-before 'configure 'fix-/bin/pwd
|
(add-before 'configure 'fix-/bin/pwd
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Loading…
Reference in a new issue