Subject: Re: bug#76055: 29.4; Doc of string-empty-p

From: "Alfred M. Szmidt" <[email-masked]>
Date: Wed, 05 Feb 2025 16:27:43 -0500

A function such as `string-empty-p' is a prime
   candidate for checking and adding such mention.

   Its name (and its current doc string) provides
   no clue that it handles a symbol argument as
   if you were passing (symbol-name <the symbol>).

Why should it?  Lisp is a dynamic language, and predicates generally
accept anything.  If anything, if the notion is that string-empty-p
should _reject_ anything but strings, it should be an assert!  (Not
saying that should be the case ...)

   If a function name shouts that the function's
   only about a string, its doc should mention it if
   that's not the case.