emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117690: * lisp/files.el (out-of-memory-warning-perc


From: Stefan Monnier
Subject: [Emacs-diffs] trunk r117690: * lisp/files.el (out-of-memory-warning-percentage): Turn it off by default.
Date: Tue, 12 Aug 2014 02:35:31 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117690
revision-id: address@hidden
parent: address@hidden
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Mon 2014-08-11 22:35:24 -0400
message:
  * lisp/files.el (out-of-memory-warning-percentage): Turn it off by default.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/files.el                  files.el-20091113204419-o5vbwnq5f7feedwu-265
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-08-11 20:15:59 +0000
+++ b/lisp/ChangeLog    2014-08-12 02:35:24 +0000
@@ -1,3 +1,7 @@
+2014-08-12  Stefan Monnier  <address@hidden>
+
+       * files.el (out-of-memory-warning-percentage): Turn it off by default.
+
 2014-08-11  Sam Steingold  <address@hidden>
 
        * textmodes/sgml-mode.el (sgml-validate-command): Set depending on

=== modified file 'lisp/files.el'
--- a/lisp/files.el     2014-08-11 00:59:34 +0000
+++ b/lisp/files.el     2014-08-12 02:35:24 +0000
@@ -1786,12 +1786,13 @@
   :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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]