From 48ac40e60e8389442437a0fac9f32739a1c0416f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 14 Aug 2022 20:50:56 +0300 Subject: [PATCH] ; Fix last change. --- doc/lispref/functions.texi | 6 ++++-- etc/NEWS | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) 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'. -- 2.39.5