comparison lisp/emacs-lisp/byte-run.el @ 62072:39ca2515a39d

(define-obsolete-function-alias): Fix typo in docstring.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 05 May 2005 09:18:22 +0000
parents a158628ce6ac
children ba1ec4834766
comparison
equal deleted inserted replaced
62071:25e868b535b8 62072:39ca2515a39d
119 "Set FUNCTION's function definition to NEW and warn that FUNCTION is obsolete. 119 "Set FUNCTION's function definition to NEW and warn that FUNCTION is obsolete.
120 If provided, WHEN should be a string indicating when FUNCTION was 120 If provided, WHEN should be a string indicating when FUNCTION was
121 first made obsolete, for example a date or a release number. The 121 first made obsolete, for example a date or a release number. The
122 optional argument DOCSTRING specifies the documentation string 122 optional argument DOCSTRING specifies the documentation string
123 for FUNCTION; if DOCSTRING is omitted or nil, FUNCTION uses the 123 for FUNCTION; if DOCSTRING is omitted or nil, FUNCTION uses the
124 documentation string of NEW unluess it already has one." 124 documentation string of NEW unless it already has one."
125 `(progn 125 `(progn
126 (defalias ,function ,new ,docstring) 126 (defalias ,function ,new ,docstring)
127 (make-obsolete ,function ,new ,when))) 127 (make-obsolete ,function ,new ,when)))
128 128
129 (defun make-obsolete-variable (variable new &optional when) 129 (defun make-obsolete-variable (variable new &optional when)