From: Robert Pluim Date: Fri, 14 Jan 2022 07:25:07 +0000 (+0100) Subject: Improve function-alias-p documentation X-Git-Tag: emacs-29.0.90~3077 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9cc1344c9fbec39cf193a745e2720f1e008ff2f6;p=emacs.git Improve function-alias-p documentation * doc/lispref/functions.texi (Defining Functions): Improve the text. --- diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index f2dce71e96c..2378e9efd7e 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -670,11 +670,10 @@ records. @xref{Function Cells}. @end defun @defun function-alias-p object &optional noerror -Use the @code{function-alias-p} function to check whether an object is -a function alias. If it isn't, this predicate will return -@code{nil}. If it is, the value returned will be a list of symbol -representing the function alias chain. For instance, if @code{a} is -an alias for @code{b}, and @code{b} is an alias for @code{c}: +Checks whether @var{object} is a function alias. If it is, it returns +a list of symbols representing the function alias chain, else +@code{nil}. For instance, if @code{a} is an alias for @code{b}, and +@code{b} is an alias for @code{c}: @example (function-alias-p 'a)