Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ca9cbc31
Commit
ca9cbc31
authored
May 02, 2005
by
Jay Belanger
Browse files
(calc-do-grab-rectangle): Replace string-to-int by string-to-number.
parent
fab11267
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/calc/calc-yank.el
lisp/calc/calc-yank.el
+2
-2
No files found.
lisp/calc/calc-yank.el
View file @
ca9cbc31
;;; calc-yank.el --- kill-ring functionality for Calc
;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc.
;; Copyright (C) 1990, 1991, 1992, 1993, 2001
, 2005
Free Software Foundation, Inc.
;; Author: David Gillespie <daveg@synaptics.com>
;; Maintainer: Jay Belanger <belanger@truman.edu>
...
...
@@ -231,7 +231,7 @@
pos
j
)))))
(
if
(
string-match
"\\` *-?[0-9][0-9]?[0-9]?[0-9]?[0-9]?[0-9]? *\\'"
(
car
data
))
(
setq
vals
(
list
'vec
(
string-to-
int
(
car
data
))))
(
setq
vals
(
list
'vec
(
string-to-
number
(
car
data
))))
(
if
(
and
(
null
arg
)
(
string-match
"[[{][^][{}]*[]}]"
(
car
data
)))
(
setq
pos
(
match-beginning
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment