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

Tweak previous em-hist.el change.

parent 0b950688
......@@ -263,8 +263,9 @@ element, regardless of any text on the command line. In that case,
(or eshell-history-size
(let ((hsize (getenv "HISTSIZE")))
(setq eshell-history-size
(if (and (> (length hsize) 0)
(integerp (setq hsize (string-to-number hsize))))
(if (and (stringp hsize)
(integerp (setq hsize (string-to-number hsize)))
(> hsize 0))
hsize
128))))
......
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