[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54653: 28.0.92; incorrect modification of completion-at-point-functi
From: |
Michael Heerdegen |
Subject: |
bug#54653: 28.0.92; incorrect modification of completion-at-point-functions |
Date: |
Sat, 02 Apr 2022 01:02:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Holger Schurig <holgerschurig@gmail.com> writes:
> (message "NOW %s %s" completion-at-point-functions (local-variable-p
> 'completion-at-point-functions))
>
> emits
>
> NOW (elisp-completion-at-point t) t
>
> I think it is a bug that there is a "t" at the end of the list.
That `t` stands for "also run the global value of the hook" - see
(info "(elisp) Running Hooks"):
If the hook variable is buffer-local, the buffer-local variable
will be used instead of the global variable. However, if the
buffer-local variable contains the element âtâ, the global hook
variable will be run as well.
Michael.
- bug#54653: 28.0.92; incorrect modification of completion-at-point-functions,
Michael Heerdegen <=