bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21390: 24.5; Missing definition for predicate `buffer-or-string-p'


From: Glenn Morris
Subject: bug#21390: 24.5; Missing definition for predicate `buffer-or-string-p'
Date: Tue, 01 Sep 2015 11:45:04 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Tino Calancha wrote:

> Predicate `buffer-or-string-p' is declared but definition is missing in:
> emacs-24.5/src/data.c

I guess you are referring to the fact that src/data.c contains

  DEFSYM (Qbuffer_or_string_p, "buffer-or-string-p")

This is used in CHECK_STRING_OR_BUFFER in textprop.c.
The simple presence of the DEFSYM is not by itself motivation for the
addition of a "buffer-or-string-p" predicate.

If you think such a thing is needed, you need to eg show how many places
in the current lisp sources would use it. And then if added it needs to
be documented too.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]