Commit e8087a76 authored by Glenn Morris's avatar Glenn Morris
Browse files

Fix some em-hist custom types.

* lisp/eshell/em-hist.el (eshell-history-file-name, eshell-history-size):
Fix custom type.
parent e2154d94
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* eshell/em-hist.el (eshell-hist-initialize): * eshell/em-hist.el (eshell-hist-initialize):
Handle eshell-history-size nil and HISTSIZE set or unset. 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> 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
......
...@@ -90,12 +90,14 @@ ...@@ -90,12 +90,14 @@
"If non-nil, name of the file to read/write input history. "If non-nil, name of the file to read/write input history.
See also `eshell-read-history' and `eshell-write-history'. See also `eshell-read-history' and `eshell-write-history'.
If it is nil, Eshell will use the value of HISTFILE." If it is nil, Eshell will use the value of HISTFILE."
:type 'file :type '(choice (const :tag "Use HISTFILE" nil)
file)
:group 'eshell-hist) :group 'eshell-hist)
(defcustom eshell-history-size 128 (defcustom eshell-history-size 128
"Size of the input history ring. If nil, use envvar HISTSIZE." "Size of the input history ring. If nil, use envvar HISTSIZE."
:type 'integer :type '(choice (const :tag "Use HISTSIZE" nil)
integer)
:group 'eshell-hist) :group 'eshell-hist)
(defcustom eshell-hist-ignoredups nil (defcustom eshell-hist-ignoredups nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment