help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

M-. vs C-h o


From: Hongyi Zhao
Subject: M-. vs C-h o
Date: Fri, 22 Oct 2021 08:28:48 +0800

See the following returned info, with point indicated by | on mapc:

M-. map|c

DEFUN ("mapc", Fmapc, Smapc, 2, 2, 0,
       doc: /* Apply FUNCTION to each element of SEQUENCE for side effects only.
Unlike `mapcar', don't accumulate the results.  Return SEQUENCE.
SEQUENCE may be a list, a vector, a bool-vector, or a string.  */)


C-h o mapc RET

mapc is a built-in function in ‘src/fns.c’.

(mapc FUNCTION SEQUENCE)

Apply FUNCTION to each element of SEQUENCE for side effects only.
Unlike ‘mapcar’, don’t accumulate the results.  Return SEQUENCE.
SEQUENCE may be a list, a vector, a bool-vector, or a string.


So, I want to know the correspondence of the following two descriptions:

DEFUN ("mapc", Fmapc, Smapc, 2, 2, 0,

and

(mapc FUNCTION SEQUENCE)

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province



reply via email to

[Prev in Thread] Current Thread [Next in Thread]