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

Previous Next

Package: emacs;

Reported by: Tino Calancha <f92capac <at> gmail.com>

Date: Tue, 1 Sep 2015 01:45:03 UTC

Severity: wishlist

Found in version 24.5

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Tino Calancha <f92capac <at> gmail.com>
Cc: 21390 <at> debbugs.gnu.org
Subject: bug#21390: 24.5; Missing definition for predicate `buffer-or-string-p'
Date: Tue, 01 Sep 2015 11:45:04 -0400
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.




This bug report was last modified 8 years and 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.