]> git.eshelyaron.com Git - emacs.git/commitdiff
Increase default value for imenu-auto-rescan-maxout
authorAlex Branham <alex.branham@gmail.com>
Fri, 31 Aug 2018 13:05:06 +0000 (08:05 -0500)
committerRobert Pluim <rpluim@gmail.com>
Wed, 12 Sep 2018 13:20:25 +0000 (15:20 +0200)
* lisp/imenu.el (imenu-auto-rescan-maxout): Increase default value to
  600000.  (Bug#18426)
* doc/emacs/programs.texi (imenu-auto-rescan-maxout): Add
  documentation for imenu-auto-rescan-maxout.

Copyright-paperwork-exempt: yes

doc/emacs/programs.texi
etc/NEWS
lisp/imenu.el

index 138f82a6bfef7f7e5e92dcf68f1bf6568d768731..46711aaf30518861497ed2f461067bf0972922c4 100644 (file)
@@ -308,6 +308,10 @@ Rescanning happens automatically if you set @code{imenu-auto-rescan} to
 a non-@code{nil} value.  There is no need to rescan because of small
 changes in the text.
 
+@vindex imenu-auto-rescan-maxout
+  @code{imenu-auto-rescan} will be disabled in buffers that are larger
+than @code{imenu-auto-rescan-maxout} in bytes.
+
 @vindex imenu-sort-function
   You can customize the way the menus are sorted by setting the
 variable @code{imenu-sort-function}.  By default, names are ordered as
index f575d4dd005e54ca865a7f7ae716609242e532d0..a54ac2db4307457a2f11a148a1ead99262ea3e9c 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -50,6 +50,11 @@ often cause crashes.  Set it to nil if you really need those fonts.
 ---
 *** New toggle 'ibuffer-do-toggle-lock', bound to 'L'.
 
+** Imenu
+
+---
+*** The value for 'imenu-auto-rescan-maxout' has been increased to 600000.
+
 ** Gnus
 
 ---
index 89114524ebce1e6f114cad3e753ccdaf86a29607..2608eb259a263ecc1359159dc4a84598780efdfb 100644 (file)
@@ -96,11 +96,11 @@ This might not yet be honored by all index-building functions."
   :type 'boolean
   :group 'imenu)
 
-(defcustom imenu-auto-rescan-maxout 60000
-  "Imenu auto-rescan is disabled in buffers larger than this size (in bytes).
-This variable is buffer-local."
+(defcustom imenu-auto-rescan-maxout 600000
+  "Imenu auto-rescan is disabled in buffers larger than this size (in bytes)."
   :type 'integer
-  :group 'imenu)
+  :group 'imenu
+  :version "26.2")
 
 (defvar imenu-always-use-completion-buffer-p nil)
 (make-obsolete-variable 'imenu-always-use-completion-buffer-p