Function: dired--no-subst-confirm
dired--no-subst-confirm is a byte-compiled function defined in
dired-aux.el.gz.
Signature
(dired--no-subst-confirm CHAR-POSITIONS COMMAND)
Source Code
;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
(defun dired--no-subst-confirm (char-positions command)
(let ((help-buf (get-buffer-create "*Dired help*"))
(char (aref command (car char-positions)))
(nb-occur (length char-positions))
(done nil)
(details nil)
(markers nil)
proceed)
(unwind-protect
(save-window-excursion
(while (not done)
(cl-case (dired--no-subst-ask char nb-occur details)
(?y
(setq done t
proceed t))
(?n
(setq done t
proceed nil))
(??
(if details
(progn
(quit-window nil details)
(setq details nil))
(dired--no-subst-explain
help-buf char-positions command markers)
(setq details (display-buffer help-buf))))
(?^
(setq markers (not markers))
(dired--no-subst-explain
help-buf char-positions command markers)))))
(kill-buffer help-buf))
proceed))