* comint.el (comint-input-ring-size): Make it a defcustom and
authorChong Yidong <cyd@stupidchicken.com>
Fri, 1 Jan 2010 18:43:25 +0000 (13:43 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 1 Jan 2010 18:43:25 +0000 (13:43 -0500)
increase the default to 500.

lisp/ChangeLog
lisp/comint.el

index f12bc9c..628869d 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-01  Juri Linkov  <juri@jurta.org>
+
+       * comint.el (comint-input-ring-size): Make it a defcustom and
+       increase the default to 500.
+
 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
 
        Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
index c4dc365..fefe2d0 100644 (file)
@@ -310,8 +310,11 @@ the function `comint-truncate-buffer' is on `comint-output-filter-functions'."
   :group 'comint)
 
 ;; FIXME: this should be defcustom
-(defvar comint-input-ring-size 150
-  "Size of input history ring.")
+(defcustom comint-input-ring-size 500
+  "Size of the input history ring in `comint-mode'."
+  :type 'integer
+  :group 'comint
+  :version "23.2")
 
 (defvar comint-input-ring-separator "\n"
   "Separator between commands in the history file.")