1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

* lisp/files.el (out-of-memory-warning-percentage): Turn it off by default.

This commit is contained in:
Stefan Monnier 2014-08-11 22:35:24 -04:00
parent 70276d32c7
commit eb7b19f013
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
* files.el (out-of-memory-warning-percentage): Turn it off by default.
2014-08-11 Sam Steingold <sds@gnu.org>
* textmodes/sgml-mode.el (sgml-validate-command): Set depending on

View file

@ -1786,12 +1786,13 @@ When nil, never request confirmation."
:version "22.1"
:type '(choice integer (const :tag "Never request confirmation" nil)))
(defcustom out-of-memory-warning-percentage 50
(defcustom out-of-memory-warning-percentage nil
"Warn if file size exceeds this percentage of available free memory.
When nil, never issue warning."
When nil, never issue warning. Beware: This probably doesn't do what you
think it does, because \"free\" is pretty hard to define in practice."
:group 'files
:group 'find-file
:version "24.4"
:version "24.5"
:type '(choice integer (const :tag "Never issue warning" nil)))
(defun abort-if-file-too-large (size op-type filename)