Function: files--ask-user-about-large-file-help-text

files--ask-user-about-large-file-help-text is a byte-compiled function defined in files.el.gz.

Signature

(files--ask-user-about-large-file-help-text OP-TYPE SIZE)

Documentation

Format the text that explains the options to open large files in Emacs.

OP-TYPE contains the kind of file operation that will be performed. SIZE is the size of the large file.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defun files--ask-user-about-large-file-help-text (op-type size)
  "Format the text that explains the options to open large files in Emacs.
OP-TYPE contains the kind of file operation that will be
performed.  SIZE is the size of the large file."
  (format
   "The file that you want to %s is large (%s), which exceeds the
 threshold above which Emacs asks for confirmation (%s).

 Large files may be slow to edit or navigate so Emacs asks you
 before you try to %s such files.

 You can press:
 'y' to %s the file.
 'n' to abort, and not %s the file.
 'l' (the letter ell) to %s the file literally, which means that
 Emacs will %s the file without doing any format or character code
 conversion and in Fundamental mode, without loading any potentially
 expensive features.

 You can customize the option `large-file-warning-threshold' to be the
 file size, in bytes, from which Emacs will ask for confirmation.  Set
 it to nil to never request confirmation."
   op-type
   size
   (funcall byte-count-to-string-function large-file-warning-threshold)
   op-type
   op-type
   op-type
   op-type
   op-type))