[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9239be8e76: ; Fix documentation of 'compiled-function-p' (bug#566
From: |
Eli Zaretskii |
Subject: |
master 9239be8e76: ; Fix documentation of 'compiled-function-p' (bug#56648) |
Date: |
Sun, 14 Aug 2022 12:46:59 -0400 (EDT) |
branch: master
commit 9239be8e76102a42c22c1e7c7028b89dc289174a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Fix documentation of 'compiled-function-p' (bug#56648)
* etc/NEWS: Fix a typo and expand the description of
'compiled-function-p'.
* doc/lispref/functions.texi (What Is a Function): Fix wording of
the documentation of 'compiled-function-p'.
---
doc/lispref/functions.texi | 3 ++-
etc/NEWS | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index a7ce3270f5..8c6328b440 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -219,7 +219,8 @@ function. For example:
@defun compiled-function-p object
This function returns @code{t} if @var{object} is a function object
-implemented in byte-code or machine code.
+that was either byte-compiled (@pxref{Byte Compilation}) or
+natively-compiled (@pxref{Native Compilation}).
@end defun
@defun subr-arity subr
diff --git a/etc/NEWS b/etc/NEWS
index 0584403d8c..0788b94da2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2572,7 +2572,9 @@ patcomp.el, pc-mode.el, pc-select.el, s-region.el, and
sregex.el.
* Lisp Changes in Emacs 29.1
+++
-** New function 'compile-function-p'.
+** New function 'compiled-function-p'.
+This returns non-nil if its argument is either a byte-compiled or a
+natively-compiled function object.
---
** 'deactivate-mark' can have new value 'dont-save'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9239be8e76: ; Fix documentation of 'compiled-function-p' (bug#56648),
Eli Zaretskii <=