From: Eli Zaretskii Date: Sun, 14 Aug 2022 17:50:56 +0000 (+0300) Subject: ; Fix last change. X-Git-Tag: emacs-29.0.90~1447^2~162 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=48ac40e60e8389442437a0fac9f32739a1c0416f;p=emacs.git ; Fix last change. --- diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 8c6328b4402..e140998d652 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -219,8 +219,10 @@ function. For example: @defun compiled-function-p object This function returns @code{t} if @var{object} is a function object -that was either byte-compiled (@pxref{Byte Compilation}) or -natively-compiled (@pxref{Native Compilation}). +that was either built-in (a.k.a.@: ``primitive'', @pxref{What is a +Function}), or byte-compiled (@pxref{Byte Compilation}), or +natively-compiled (@pxref{Native Compilation}), or a function loaded +from a dynamic module (@pxref{Dynamic Modules}). @end defun @defun subr-arity subr diff --git a/etc/NEWS b/etc/NEWS index 0788b94da22..c982684d3a9 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2573,8 +2573,9 @@ patcomp.el, pc-mode.el, pc-select.el, s-region.el, and sregex.el. +++ ** New function 'compiled-function-p'. -This returns non-nil if its argument is either a byte-compiled or a -natively-compiled function object. +This returns non-nil if its argument is either a built-in, or a +byte-compiled, or a natively-compiled function object, or a function +loaded from a dynamic module. --- ** 'deactivate-mark' can have new value 'dont-save'.