aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-02-22 14:16:25 +0000
committerJim Blandy1993-02-22 14:16:25 +0000
commit37f6661a60d67155fbdfd4556a9e5a63100903a7 (patch)
tree9f3e09ba083ed69a95420649d6e58bbbe40c5ed2
parentad196291b43f1d07dba8334134d8019f8670d535 (diff)
downloademacs-37f6661a60d67155fbdfd4556a9e5a63100903a7.tar.gz
emacs-37f6661a60d67155fbdfd4556a9e5a63100903a7.zip
* subr.el (string-to-int): Make this an alias for
string-to-number.
-rw-r--r--lisp/subr.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index d8b1d5a197d..b46f95cc9a6 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -244,6 +244,10 @@ Accept any number of arguments, but ignore them."
244(fset 'backward-delete-char 'delete-backward-char) 244(fset 'backward-delete-char 'delete-backward-char)
245(fset 'search-forward-regexp (symbol-function 're-search-forward)) 245(fset 'search-forward-regexp (symbol-function 're-search-forward))
246(fset 'search-backward-regexp (symbol-function 're-search-backward)) 246(fset 'search-backward-regexp (symbol-function 're-search-backward))
247
248;;; Should this be an obsolete name? If you decide it should, you get
249;;; to go through all the sources and change them.
250(fset 'string-to-int 'string-to-number)
247 251
248;;; global-map, esc-map, and ctl-x-map have their values set up 252;;; global-map, esc-map, and ctl-x-map have their values set up
249;;; in keymap.c. 253;;; in keymap.c.