all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Holger Schurig <holgerschurig@gmail.com>
Cc: 54653@debbugs.gnu.org
Subject: bug#54653: 28.0.92; incorrect modification of completion-at-point-functions
Date: Sat, 02 Apr 2022 01:02:41 +0200	[thread overview]
Message-ID: <87y20oxv8u.fsf@web.de> (raw)
In-Reply-To: <CAOpc7mEshfJp=oRQqM6n4+UDciSikyg_LUOL77DLW0T__=6Oxg@mail.gmail.com> (Holger Schurig's message of "Thu, 31 Mar 2022 04:31:46 -0700")

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.





  reply	other threads:[~2022-04-01 23:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-31 11:31 bug#54653: 28.0.92; incorrect modification of completion-at-point-functions Holger Schurig
2022-04-01 23:02 ` Michael Heerdegen [this message]
2022-04-02 15:37   ` Lars Ingebrigtsen
2022-04-30 17:29     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y20oxv8u.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=54653@debbugs.gnu.org \
    --cc=holgerschurig@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.