[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 6d3eba3e87 3/3: Improve manual
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 6d3eba3e87 3/3: Improve manual |
Date: |
Sat, 21 Jan 2023 14:57:25 -0500 (EST) |
branch: externals/compat
commit 6d3eba3e872bf12d1e9647b97df930932de6577c
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Improve manual
---
compat.texi | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/compat.texi b/compat.texi
index 32cabd161a..c944df6708 100644
--- a/compat.texi
+++ b/compat.texi
@@ -146,18 +146,18 @@ Definitions'' can be called as usual.
(mapcan FUNCTION SEQUENCE) ;; Implicit
@end example
-@defmac compat-call FUN &rest ARGS
-This macro calls the compatibility function FUN with ARGS. Many
-functions provided by Compat can be called directly without this
+@defmac compat-call fun &rest args
+This macro calls the compatibility function @var{fun} with @var{args}.
+Many functions provided by Compat can be called directly without this
macro. However in the case where Compat provides an alternative
version of an existing function, the function call has to go through
@code{compat-call}. This happens for example when the calling
convention of a function has changed.
@end defmac
-@defmac compat-function FUN
-This macro returns the compatibility function symbol for FUN. See
-@code{compat-call} for a more convenient macro to directly call
+@defmac compat-function fun
+This macro returns the compatibility function symbol for @var{fun}.
+See @code{compat-call} for a more convenient macro to directly call
compatibility functions.
@end defmac
@@ -555,6 +555,12 @@ The following functions and macros are implemented in Emacs
26.1. These functions are made available by Compat on Emacs versions
older than 26.1.
+@c based on lispref/lists.texi
+@defun assoc-delete-all key alist
+This function is like @code{assq-delete-all} except that it uses
+@code{equal} to compare elements.
+@end defun
+
@c copied from lispref/minibuf.texi
@defun read-answer question answers
This function prompts the user with text in @var{question}, which