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

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

Re: M-. vs C-h o


From: Emanuel Berg
Subject: Re: M-. vs C-h o
Date: Fri, 22 Oct 2021 02:33:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hongyi Zhao wrote:

> 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)

Not following?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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