[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos
From: |
Emanuel Berg |
Subject: |
Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer. |
Date: |
Tue, 06 Jul 2021 02:29:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hongyi Zhao wrote:
>>> (add-hook 'apropos-mode-hook
>>> (lambda ()
>>> (add-hook 'xref-backend-functions
>>> #'elisp--xref-backend 0 t)))
>>
>> Based on my tries, passing nil or 0 as the third argument
>> is equivalent. Thank you again.
>
> For this case, according to my understanding, the 3rd
> argument used here is just as a placeholder.
C-h f add-hook RET
DEPTH defaults to 0.
That means, it is better to send nil than 0 if you want the
default value. If you pass 0 is sounds like that's the value
you have computed for your purposes. Well, if it IS, only then
you should pass it.
--
underground experts united
https://dataswamp.org/~incal
- `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer., Hongyi Zhao, 2021/07/03
- Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer., Daniel Martín, 2021/07/04
- Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer., Hongyi Zhao, 2021/07/04
- Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer., Daniel Martín, 2021/07/05
- Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer., Hongyi Zhao, 2021/07/05
- Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer., Hongyi Zhao, 2021/07/05
- Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer., Hongyi Zhao, 2021/07/05
- Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer.,
Emanuel Berg <=
- Re: `M-.' can't skip to the corresponding DEFUN from within the Apropos buffer., Hongyi Zhao, 2021/07/05