Subject: bug#78719: 30.1; [PATCH] Add functions `string-common-prefix' and `string-try-completion'

From: Eli Zaretskii <[email-masked]>
Date: Tue, 10 Jun 2025 15:15:27 +0300

> Date: Tue, 10 Jun 2025 21:30:04 +1200
> From: Phil Sainty <[email-masked]>
> Cc: Stefan Monnier <[email-masked]>, [email-masked],
>  [email-masked], [email-masked], [email-masked]
> 
> Is it ok to (eval-when-compile (require 'cl-lib)) in subr.el
> in order to use cl-defun ?

Can we please avoid that at all costs?

Why do we need cl-defun here, anyway?  How many arguments should these
functions have?