Fix some em-hist custom types.

* lisp/eshell/em-hist.el (eshell-history-file-name, eshell-history-size):
Fix custom type.
This commit is contained in:
Glenn Morris 2011-12-01 17:34:24 -05:00
parent e2154d9437
commit e8087a7609
2 changed files with 5 additions and 2 deletions

View file

@ -2,6 +2,7 @@
* eshell/em-hist.el (eshell-hist-initialize):
Handle eshell-history-size nil and HISTSIZE set or unset.
(eshell-history-file-name, eshell-history-size): Fix custom type.
2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>

View file

@ -90,12 +90,14 @@
"If non-nil, name of the file to read/write input history.
See also `eshell-read-history' and `eshell-write-history'.
If it is nil, Eshell will use the value of HISTFILE."
:type 'file
:type '(choice (const :tag "Use HISTFILE" nil)
file)
:group 'eshell-hist)
(defcustom eshell-history-size 128
"Size of the input history ring. If nil, use envvar HISTSIZE."
:type 'integer
:type '(choice (const :tag "Use HISTSIZE" nil)
integer)
:group 'eshell-hist)
(defcustom eshell-hist-ignoredups nil