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:
parent
e2154d9437
commit
e8087a7609
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue