diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-12-31 17:01:22 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-12-31 17:01:22 +0200 |
commit | 9871ee8b14a5ad3e7dcd59f3fd1503300f9d0234 (patch) | |
tree | ee412bb3b0ddc2f7e7f0b121cbaef593affb113e | |
parent | f309651b677e3be39a246c02973fd31fc74434d3 (diff) | |
download | emacs-9871ee8b14a5ad3e7dcd59f3fd1503300f9d0234.tar.gz |
; More fixes for documentation of 'defalias'
* doc/lispref/functions.texi (Defining Functions): Document
other possible values of DEFINITION in a defalias.
(Bug#60432)
-rw-r--r-- | doc/lispref/functions.texi | 6 |
1 files 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 |