Function: dired--no-subst-explain

dired--no-subst-explain is a byte-compiled function defined in dired-aux.el.gz.

Signature

(dired--no-subst-explain BUF CHAR-POSITIONS COMMAND MARK-POSITIONS)

Source Code

;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
(defun dired--no-subst-explain (buf char-positions command mark-positions)
  (with-current-buffer buf
    (erase-buffer)
    (insert
     (format-message "\
If your command contains occurrences of `*' surrounded by
whitespace, `dired-do-shell-command' substitutes them for the
entire file list to process.  Otherwise, if your command contains
occurrences of `?' surrounded by whitespace or `%s', Dired will
run the command once for each file, substituting `?' for each
file name.

Your command contains occurrences of `%s' that will not be
substituted, and will be passed through normally to the shell.

%s

(Press ^ to %s markers below these occurrences.)
"
   "`"
   (string (aref command (car char-positions)))
   (dired--highlight-no-subst-chars char-positions command mark-positions)
   (if mark-positions "remove" "add")))))