summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-12-01 17:34:24 -0500
committerGlenn Morris <rgm@gnu.org>2011-12-01 17:34:24 -0500
commite8087a7609a4a279b6b6cbca947e9d845c760a9e (patch)
tree385797326f2fdf8ef4eb562be7dc0dec4e5142b5 /lisp/eshell
parente2154d9437fd57a6ba2eb08fe1d1e349ce1283a5 (diff)
downloademacs-e8087a7609a4a279b6b6cbca947e9d845c760a9e.tar.gz
emacs-e8087a7609a4a279b6b6cbca947e9d845c760a9e.tar.bz2
emacs-e8087a7609a4a279b6b6cbca947e9d845c760a9e.zip
Fix some em-hist custom types.
* lisp/eshell/em-hist.el (eshell-history-file-name, eshell-history-size): Fix custom type.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-hist.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el
index 5ae419f7ba9..5e44e541526 100644
--- a/lisp/eshell/em-hist.el
+++ b/lisp/eshell/em-hist.el
@@ -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