[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r106572: Tweak previous em-hist.el ch
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r106572: Tweak previous em-hist.el change. |
Date: |
Thu, 01 Dec 2011 17:30:12 -0500 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 106572
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2011-12-01 17:30:12 -0500
message:
Tweak previous em-hist.el change.
modified:
lisp/eshell/em-hist.el
=== modified file 'lisp/eshell/em-hist.el'
--- a/lisp/eshell/em-hist.el 2011-12-01 22:28:10 +0000
+++ b/lisp/eshell/em-hist.el 2011-12-01 22:30:12 +0000
@@ -263,8 +263,9 @@
(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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r106572: Tweak previous em-hist.el change.,
Glenn Morris <=