* lisp/man.el (Man-shell-file-name): Ensure a Bourne shell. (Bug#75308)

This commit is contained in:
Michael Albinus 2025-02-16 11:00:46 +01:00
parent 7016c13e5e
commit 48f9d6aafe

View file

@ -578,7 +578,7 @@ Otherwise, the value is whatever the function
(defun Man-shell-file-name ()
"Return a proper shell file name, respecting remote directories."
(or ; This works also in the local case.
(if (connection-local-p shell-file-name)
(connection-local-value shell-file-name)
"/bin/sh"))