[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The definition of orig-fn.
From: |
Emanuel Berg |
Subject: |
Re: The definition of orig-fn. |
Date: |
Mon, 04 Oct 2021 14:01:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Hongyi Zhao wrote:
> I'm trying to understand the code snippet here [1] as
> follows:
>
> ;;;
> (defun ora--company-good-prefix-p (orig-fn prefix)
> (unless (and (stringp prefix) (string-match-p "\\`[0-9]+\\'" prefix))
> (funcall orig-fn prefix)))
> (ora-advice-add 'company--good-prefix-p :around #'ora--company-good-prefix-p)
> ;;;
>
> The symbol `orig-fn' used above puzzles me the most.
> It can't be found by `C-h o orig-fn RET', and its definition
> cannot be found elsewhere in the above repository.
Formal parameter ...
--
underground experts united
https://dataswamp.org/~incal
- Re: The definition of orig-fn., (continued)
- Re: The definition of orig-fn., Hongyi Zhao, 2021/10/05
- Re: The definition of orig-fn., Tassilo Horn, 2021/10/05
- Re: The definition of orig-fn., Hongyi Zhao, 2021/10/05
- Re: The definition of orig-fn., Tassilo Horn, 2021/10/05
- Re: The definition of orig-fn., Tassilo Horn, 2021/10/05
- Re: The definition of orig-fn., Emanuel Berg, 2021/10/05
- Re: The definition of orig-fn., Hongyi Zhao, 2021/10/05
- Re: The definition of orig-fn., Emanuel Berg, 2021/10/05
- Re: The definition of orig-fn., Emanuel Berg, 2021/10/05
- Re: The definition of orig-fn., Hongyi Zhao, 2021/10/05
Re: The definition of orig-fn.,
Emanuel Berg <=