diff lisp/files.el @ 51360:f48326c934af

(large-file-warning-threshold): Add type, groups.
author John Paul Wallington <jpw@pobox.com>
date Sat, 31 May 2003 07:59:33 +0000
parents f827a37d5c82
children 4b0652a2bde5
line wrap: on
line diff
--- a/lisp/files.el	Sat May 31 02:02:02 2003 +0000
+++ b/lisp/files.el	Sat May 31 07:59:33 2003 +0000
@@ -1173,8 +1173,11 @@
   :type 'boolean)
 
 (defcustom large-file-warning-threshold 10000000
-  "Maximum size of file above which a confirmation is requested."
-  :type 'integer)
+  "Maximum size of file above which a confirmation is requested.
+When nil, never request confirmation."
+  :group 'files
+  :group 'find-file
+  :type '(choice integer (const :tag "Never request confirmation" nil)))
 
 (defun find-file-noselect (filename &optional nowarn rawfile wildcards)
   "Read file FILENAME into a buffer and return the buffer.