emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/shell.el


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/shell.el
Date: Mon, 16 May 2005 07:33:53 -0400

Index: emacs/lisp/shell.el
diff -c emacs/lisp/shell.el:1.126 emacs/lisp/shell.el:1.127
*** emacs/lisp/shell.el:1.126   Tue Apr 26 23:16:20 2005
--- emacs/lisp/shell.el Mon May 16 11:33:47 2005
***************
*** 759,765 ****
  ;; 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)))
  
  
  (defun shell-dirtrack-mode ()
--- 759,765 ----
  ;; 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-number str)))
  
  
  (defun shell-dirtrack-mode ()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]