From 9871ee8b14a5ad3e7dcd59f3fd1503300f9d0234 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 31 Dec 2022 17:01:22 +0200 Subject: [PATCH] ; More fixes for documentation of 'defalias' * doc/lispref/functions.texi (Defining Functions): Document other possible values of DEFINITION in a defalias. (Bug#60432) --- doc/lispref/functions.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 9232dc38e78..a0ee59df7ee 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -700,8 +700,10 @@ redefinition from unintentional redefinition. @defun defalias name definition &optional doc @anchor{Definition of defalias} This function defines the symbol @var{name} as a function, with -definition @var{definition} (which can be any valid Lisp function or macro). -Its return value is @emph{undefined}. +definition @var{definition}. @var{definition} can be any valid Lisp +function or macro, or a special form (@pxref{Special Forms}), or a +keymap (@pxref{Keymaps}), or a vector or string (a keyboard macro). +The return value of @code{defalias} is @emph{undefined}. If @var{doc} is non-@code{nil}, it becomes the function documentation of @var{name}. Otherwise, any documentation provided by -- 2.39.2