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

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

Re: Check/find/locate the customized function/command of a specific proj


From: Daniel Martín
Subject: Re: Check/find/locate the customized function/command of a specific project in Emacs conveniently/quickly/efficiently.
Date: Sun, 04 Jul 2021 23:22:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin)

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> I'm currently learning the configuration used by doom Emacs [1]. For
> example, the following code snippet shows on
> <https://github.com/hlissner/doom-emacs/blob/2731685095d1e6101b3215aa689426e1834ce00f/modules/lang/latex/config.el#L256>:
>
> (use-package! company-math
> :when (featurep! :completion company)
> :defer t
> :init
> (add-to-list '+latex--company-backends
> #'+latex-symbols-company-backend nil #'eq))
>
> In the above code snippet, there are some customized
> function/command/variable, i.e., use-package!, featurep!,
> +latex--company-backends, and +latex-symbols-company-backend, which
> are not so easy to understand just by their names. So, I want to
> check/find/locate the corresponding definitions for them in Emacs
> conveniently/quickly/efficiently. Because they are customized things,
> the
> `M-.' doesn't work for them.

It seems like use-package! is a macro defined by Doom Emacs, so you can
do C-h f use-package! RET to read its documentation.  Similarly,
+latex-symbols-company-backend seems like a Lisp variable added by Doom
Emacs, so you can get help by doing C-h v +latex-symbols-company-backend
RET.

Alternatively, you can type C-h o (describe-symbol) to get documentation
about any symbol (variable, function, etc.).


reply via email to

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