changeset 46052:4d27fe417297

(char-bytes): Fix obsolescence declaration. (make-local-hook): Likewise. (baud-rate): Remove redundant info from docstring.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 27 Jun 2002 16:08:56 +0000
parents 990c78360ef5
children ef0684c3e07b
files lisp/subr.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Thu Jun 27 16:08:12 2002 +0000
+++ b/lisp/subr.el	Thu Jun 27 16:08:56 2002 +0000
@@ -699,7 +699,7 @@
 
 (defalias 'sref 'aref)
 (make-obsolete 'sref 'aref "20.4")
-(make-obsolete 'char-bytes "Now this function always returns 1" "20.4")
+(make-obsolete 'char-bytes "now always returns 1 (maintained for backward compatibility)." "20.4")
 
 (defun insert-string (&rest args)
   "Mocklisp-compatibility insert function.
@@ -712,8 +712,7 @@
 
 ;; Some programs still use this as a function.
 (defun baud-rate ()
-  "Obsolete function returning the value of the `baud-rate' variable.
-Please convert your programs to use the variable `baud-rate' directly."
+  "Return the value of the `baud-rate' variable."
   baud-rate)
 
 (defalias 'focus-frame 'ignore)
@@ -772,7 +771,7 @@
     (make-local-variable hook)
     (set hook (list t)))
   hook)
-(make-obsolete 'make-local-hook "Not necessary any more." "21.1")
+(make-obsolete 'make-local-hook "not necessary any more." "21.1")
 
 (defun add-hook (hook function &optional append local)
   "Add to the value of HOOK the function FUNCTION.