]> git.eshelyaron.com Git - emacs.git/commit
Don't use 'eshell-convert' when all we want is a number
authorJim Porter <jporterbugs@gmail.com>
Sat, 26 Mar 2022 22:12:48 +0000 (15:12 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 29 Mar 2022 14:50:48 +0000 (16:50 +0200)
commit283c419f9a3d8ecf2721c24d9c593a1a5f1b12a2
treecfc0804808dd82f9272bc8e160121c69981b2eb1
parent705de330725715c355b63cf49d56aa13132a5f3c
Don't use 'eshell-convert' when all we want is a number

* lisp/eshell/em-hist.el (eshell/history): Use 'string-to-number'
instead of 'eshell-convert'.

* lisp/eshell/em-basic.el (eshell/umask): Simplify implementation and
be more careful about parsing numeric umasks to set.
lisp/eshell/em-basic.el
lisp/eshell/em-hist.el