diff options
Diffstat (limited to 'lisp/shell.el')
-rw-r--r-- | lisp/shell.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 354ed88f80f..fd5e6c25032 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -759,7 +759,7 @@ Environment variables are expanded, see function `substitute-in-file-name'." ;; If STR is of the form +n, for n>0, return n. Otherwise, nil. (defun shell-extract-num (str) (and (string-match "^\\+[1-9][0-9]*$" str) - (string-to-int str))) + (string-to-number str))) (defun shell-dirtrack-mode () |