changeset 106690:4d6afab8b7cb

* comint.el (comint-input-ring-size): Make it a defcustom and increase the default to 500.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 01 Jan 2010 13:43:25 -0500
parents de63af995d1c
children ee43864593e4
files lisp/ChangeLog lisp/comint.el
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jan 01 13:14:22 2010 -0500
+++ b/lisp/ChangeLog	Fri Jan 01 13:43:25 2010 -0500
@@ -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).
--- a/lisp/comint.el	Fri Jan 01 13:14:22 2010 -0500
+++ b/lisp/comint.el	Fri Jan 01 13:43:25 2010 -0500
@@ -310,8 +310,11 @@
   :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.")