X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=man%2Flispref%2Fhelp.texi;h=ec22d862e60879ae72d538dabdaa252e57bbc097;hb=0f85a607aa364c9143c3996086a5bc46a7c1f32b;hp=88ec58f1d25d4b67ca047ddcd7f2f4fdb9fbe0ac;hpb=82f6d62ee211b1d36e8f45fed3ee3edde82b6916;p=chise%2Fxemacs-chise.git.1 diff --git a/man/lispref/help.texi b/man/lispref/help.texi index 88ec58f..ec22d86 100644 --- a/man/lispref/help.texi +++ b/man/lispref/help.texi @@ -417,8 +417,8 @@ appears as the name of the symbol in the @sc{car} of the list. @result{} "C-x SPC M-y SPC LFD SPC TAB SPC RET SPC C-l 1 2 3" @end group @group -(single-key-description 'kp_next) - @result{} "kp_next" +(single-key-description 'kp-next) + @result{} "kp-next" @end group @group (single-key-description '(shift button1)) @@ -676,7 +676,7 @@ users of that function should be told to use the newer one instead. XEmacs Lisp lets you mark a function or variable as @dfn{obsolete}, and indicate what should be used instead. -@deffn Command make-obsolete function new +@deffn Command make-obsolete function new &optional when This function indicates that @var{function} is an obsolete function, and the function @var{new} should be used instead. The byte compiler will issue a warning to this effect when it encounters a usage of the @@ -684,7 +684,9 @@ older function, and the help system will also note this in the function's documentation. @var{new} can also be a string (if there is not a single function with the same functionality any more), and should be a descriptive statement, such as "use @var{foo} or @var{bar} instead" or "this function is -unnecessary". +unnecessary". If provided, @var{when} should be a string indicating when +the function was first made obsolete, for example a date or a release +number. @end deffn @deffn Command make-obsolete-variable variable new