From d565ed0ffbc224f0795f03df011db0fff093c903 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 11 Mar 2019 02:48:19 +0000 Subject: 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! --- misc/mixvm.el | 12 ++++++------ 1 file 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 ;; Maintainer: Philip Ellis King ;; 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. -- cgit v1.2.3