Function: pr-printify-directory
pr-printify-directory is an autoloaded, interactive and byte-compiled
function defined in printing.el.gz.
Signature
(pr-printify-directory &optional DIR FILE-REGEXP)
Documentation
Replace nonprinting characters in directory with printable representations.
The printable representations use ^ (for ASCII control characters) or hex. The characters tab, linefeed, space, return and formfeed are not affected.
Interactively, the command prompts for a directory and a file name regexp for matching.
Noninteractively, if DIR is nil, prompts for DIRectory. If FILE-REGEXP is nil, prompts for FILE(name)-REGEXP.
See also documentation for pr-list-directory.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/printing.el.gz
;;;###autoload
(defun pr-printify-directory (&optional dir file-regexp)
"Replace nonprinting characters in directory with printable representations.
The printable representations use ^ (for ASCII control characters) or hex.
The characters tab, linefeed, space, return and formfeed are not affected.
Interactively, the command prompts for a directory and a file name regexp for
matching.
Noninteractively, if DIR is nil, prompts for DIRectory. If FILE-REGEXP is nil,
prompts for FILE(name)-REGEXP.
See also documentation for `pr-list-directory'."
(interactive (pr-interactive-dir-args "Printify dir"))
(defvar pr--dir) (defvar pr--file-regexp)
(let ((pr--dir dir) (pr--file-regexp file-regexp))
(pr-set-dir-args 'pr--dir 'pr--file-regexp "Printify dir")
(pr-file-list pr--dir pr--file-regexp 'pr-printify-buffer)))