GNU bug report logs -
#9709
24.0.90; TAB-completion causes assertion violation
Previous Next
Reported by: Eli Zaretskii <eliz <at> gnu.org>
Date: Sun, 9 Oct 2011 17:55:01 UTC
Severity: normal
Merged with 9725
Found in version 24.0.90
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
Full log
Message #15 received at 9709-done <at> debbugs.gnu.org (full text, mbox):
> emacs -Q
> C-x b w TAB
> => minibuf.c:1866: Emacs fatal error: assertion failed: CONSP ((bufs))
Oops, sorry, should be fixed now, thanks to the patch below,
Stefan
=== modified file 'src/minibuf.c'
--- src/minibuf.c 2011-10-02 00:25:27 +0000
+++ src/minibuf.c 2011-10-11 15:27:20 +0000
@@ -1859,9 +1859,10 @@
/* First, look for a non-internal buffer in `res'. */
while (CONSP (bufs) && SREF (XCAR (bufs), 0) == ' ')
bufs = XCDR (bufs);
- if (NILP (bufs) && EQ (Flength (res), Flength (Vbuffer_alist)))
- /* All bufs are internal, so don't trip them out. */
- return res;
+ if (NILP (bufs))
+ return (EQ (Flength (res), Flength (Vbuffer_alist))
+ /* All bufs are internal, so don't strip them out. */
+ ? res : bufs);
res = bufs;
while (CONSP (XCDR (bufs)))
if (SREF (XCAR (XCDR (bufs)), 0) == ' ')
This bug report was last modified 13 years and 279 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.