aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2002-06-27 16:08:56 +0000
committerJuanma Barranquero2002-06-27 16:08:56 +0000
commit8eb93953787ed306da3a52e03557a5284a76dada (patch)
tree8d680db0b4efe90550504ddec859d9f1f5249c2c
parent5c92a2a6078f8623d30609f20d417ecdc3d93a40 (diff)
downloademacs-8eb93953787ed306da3a52e03557a5284a76dada.tar.gz
emacs-8eb93953787ed306da3a52e03557a5284a76dada.zip
(char-bytes): Fix obsolescence declaration.
(make-local-hook): Likewise. (baud-rate): Remove redundant info from docstring.
-rw-r--r--lisp/subr.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 6532f2da8a0..289aaaaf20e 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -699,7 +699,7 @@ as returned by the `event-start' and `event-end' functions."
699 699
700(defalias 'sref 'aref) 700(defalias 'sref 'aref)
701(make-obsolete 'sref 'aref "20.4") 701(make-obsolete 'sref 'aref "20.4")
702(make-obsolete 'char-bytes "Now this function always returns 1" "20.4") 702(make-obsolete 'char-bytes "now always returns 1 (maintained for backward compatibility)." "20.4")
703 703
704(defun insert-string (&rest args) 704(defun insert-string (&rest args)
705 "Mocklisp-compatibility insert function. 705 "Mocklisp-compatibility insert function.
@@ -712,8 +712,7 @@ is converted into a string by expressing it in decimal."
712 712
713;; Some programs still use this as a function. 713;; Some programs still use this as a function.
714(defun baud-rate () 714(defun baud-rate ()
715 "Obsolete function returning the value of the `baud-rate' variable. 715 "Return the value of the `baud-rate' variable."
716Please convert your programs to use the variable `baud-rate' directly."
717 baud-rate) 716 baud-rate)
718 717
719(defalias 'focus-frame 'ignore) 718(defalias 'focus-frame 'ignore)
@@ -772,7 +771,7 @@ Do not use `make-local-variable' to make a hook variable buffer-local."
772 (make-local-variable hook) 771 (make-local-variable hook)
773 (set hook (list t))) 772 (set hook (list t)))
774 hook) 773 hook)
775(make-obsolete 'make-local-hook "Not necessary any more." "21.1") 774(make-obsolete 'make-local-hook "not necessary any more." "21.1")
776 775
777(defun add-hook (hook function &optional append local) 776(defun add-hook (hook function &optional append local)
778 "Add to the value of HOOK the function FUNCTION. 777 "Add to the value of HOOK the function FUNCTION.