aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-05-17 15:03:12 +0000
committerJuanma Barranquero2005-05-17 15:03:12 +0000
commitcb011c67aa8a93e0ae8970d6f94f790c72e4cb1f (patch)
tree21694d16da4b3cf89addccbaeb2c3d35d763220e
parenta81d8ea145ed1454f642d79ea1e6b41416d64b53 (diff)
downloademacs-cb011c67aa8a93e0ae8970d6f94f790c72e4cb1f.tar.gz
emacs-cb011c67aa8a93e0ae8970d6f94f790c72e4cb1f.zip
Slight reorganization of some obsolete declarations; deleted comment no longer
relevant.
-rw-r--r--lisp/subr.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 8eda9e542c2..387bf854a01 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -762,7 +762,7 @@ and `event-end' functions."
762(defalias 'eval-current-buffer 'eval-buffer) 762(defalias 'eval-current-buffer 'eval-buffer)
763 763
764(make-obsolete 'char-bytes "now always returns 1." "20.4") 764(make-obsolete 'char-bytes "now always returns 1." "20.4")
765(make-obsolete 'baud-rate "use the `baud-rate' variable instead." "before 19.15") 765(define-obsolete-function-alias 'string-to-int 'string-to-number)
766 766
767(defun insert-string (&rest args) 767(defun insert-string (&rest args)
768 "Mocklisp-compatibility insert function. 768 "Mocklisp-compatibility insert function.
@@ -771,6 +771,7 @@ is converted into a string by expressing it in decimal."
771 (dolist (el args) 771 (dolist (el args)
772 (insert (if (integerp el) (number-to-string el) el)))) 772 (insert (if (integerp el) (number-to-string el) el))))
773(make-obsolete 'insert-string 'insert "22.1") 773(make-obsolete 'insert-string 'insert "22.1")
774
774(defun makehash (&optional test) (make-hash-table :test (or test 'eql))) 775(defun makehash (&optional test) (make-hash-table :test (or test 'eql)))
775(make-obsolete 'makehash 'make-hash-table "22.1") 776(make-obsolete 'makehash 'make-hash-table "22.1")
776 777
@@ -778,6 +779,7 @@ is converted into a string by expressing it in decimal."
778(defun baud-rate () 779(defun baud-rate ()
779 "Return the value of the `baud-rate' variable." 780 "Return the value of the `baud-rate' variable."
780 baud-rate) 781 baud-rate)
782(make-obsolete 'baud-rate "use the `baud-rate' variable instead." "before 19.15")
781 783
782 784
783;;;; Obsolescence declarations for variables, and aliases. 785;;;; Obsolescence declarations for variables, and aliases.
@@ -822,9 +824,6 @@ is converted into a string by expressing it in decimal."
822(defalias 'point-at-eol 'line-end-position) 824(defalias 'point-at-eol 'line-end-position)
823(defalias 'point-at-bol 'line-beginning-position) 825(defalias 'point-at-bol 'line-beginning-position)
824 826
825;;; Should this be an obsolete name? If you decide it should, you get
826;;; to go through all the sources and change them.
827(define-obsolete-function-alias 'string-to-int 'string-to-number)
828 827
829;;;; Hook manipulation functions. 828;;;; Hook manipulation functions.
830 829