[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: |
Lars Ingebrigtsen |
Subject: |
bug#54653: 28.0.92; incorrect modification of completion-at-point-functions |
Date: |
Sat, 02 Apr 2022 17:37:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> 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.
So this seems to be working as designed.
Holger, what was the actual problem you were seeing with
completion-at-point-functions? If don't you want to have
elisp-completion-at-point run, you have to remove it from the
buffer-local value from emacs-lisp-mode-hook (or remove the buffer-local
value altogether), I think.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no