unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Mendler <mail@daniel-mendler.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: [elpa] externals/corfu 79a2a61 2/2: Improve orderless support
Date: Fri, 7 May 2021 15:19:47 +0200	[thread overview]
Message-ID: <337de30c-3672-be42-5385-5a69873550a6@daniel-mendler.de> (raw)
In-Reply-To: <jwvbl9maedt.fsf-monnier+emacs@gnu.org>

On 5/7/21 3:01 PM, Stefan Monnier wrote:
> Usually we write `fboundp` when we want to test if a function is bound.
> Of course, `symbol-function` does the job as well (the two functions
> could be aliases of each other nowadays) but it's not idiomatic.

Of course. Maybe you missed the context of the code here? This is a
`cl-letf` and I am using `symbol-function` to overwrite the function
using the gv expander. This is pretty ugly code, but I hope we get
support for deferred highlighting in Emacs itself (bug#47711).

Daniel



  reply	other threads:[~2021-05-07 13:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210507111834.24945.47387@vcs0.savannah.gnu.org>
     [not found] ` <20210507111836.5094220DFD@vcs0.savannah.gnu.org>
2021-05-07 13:01   ` [elpa] externals/corfu 79a2a61 2/2: Improve orderless support Stefan Monnier
2021-05-07 13:19     ` Daniel Mendler [this message]
2021-05-07 13:28       ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=337de30c-3672-be42-5385-5a69873550a6@daniel-mendler.de \
    --to=mail@daniel-mendler.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).