Function: Man-shell-file-name

Man-shell-file-name is a byte-compiled function defined in man.el.gz.

Signature

(Man-shell-file-name)

Documentation

Return a proper shell file name, respecting remote directories.

Source Code

;; Defined in /usr/src/emacs/lisp/man.el.gz
(defun Man-shell-file-name ()
  "Return a proper shell file name, respecting remote directories."
  ;; It must be a Bourne-shell.  (Bug#75308, Bug#80212)
  (if (connection-local-p shell-file-name)
      (connection-local-value shell-file-name)
    (if (memq system-type '(windows-nt ms-dos))
        shell-file-name
      "/bin/sh")))