diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2019-03-11 02:48:19 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2019-03-11 02:48:19 +0000 |
commit | d565ed0ffbc224f0795f03df011db0fff093c903 (patch) | |
tree | 5ddb565478827bebbff442c969805c203d79aca8 /misc | |
parent | 64c0fc8a0c9155f3708d385ec18b36982c488122 (diff) | |
download | mdk-d565ed0ffbc224f0795f03df011db0fff093c903.tar.gz mdk-d565ed0ffbc224f0795f03df011db0fff093c903.tar.bz2 |
Obsolete string-to-int removed in favour of string-to-number
Thanks to Thomas Matecki. Fixes #bug 55877 and makes mixvm, Philip
King's child, work again!
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mixvm.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/mixvm.el b/misc/mixvm.el index c437dfd..5329fad 100644 --- a/misc/mixvm.el +++ b/misc/mixvm.el @@ -1,12 +1,12 @@ ;;; mixvm.el --- mdk's mixvm / Emacs gud interaction -;; Copyright (C) 2001 Free Software Foundation, Inc. - +;; Copyright (C) 2001, 2019 Free Software Foundation, Inc. + ;; Author: Philip Ellis King <pking@pdq.net> ;; Maintainer: Philip Ellis King <pking@pdq.net> ;; Created: 12 Feb 2001 ;; Version: 0.2 ;; Keywords: tools - + ;;; Commentary: ;; mixvm.el provides an interface between mdk's mixvm and Emacs, @@ -58,9 +58,9 @@ ;; Extract the frame position from the marker. gud-last-frame (cons (substring gud-mixvm-marker-acc (match-beginning 1) (match-end 1)) - (string-to-int (substring gud-mixvm-marker-acc - (match-beginning 2) - (match-end 2)))) + (string-to-number (substring gud-mixvm-marker-acc + (match-beginning 2) + (match-end 2)))) ;; Append any text before the marker to the output we're going ;; to return - we don't include the marker in this text. |