[Top][All Lists]

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

Re: Emacs fails parsing gdb output

From: Johan Bockgård
Subject: Re: Emacs fails parsing gdb output
Date: Sat, 14 Jul 2007 12:36:26 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> +  (if (case gud-gdb-annotations
> +        (2 nil)
> +        (nil (string-match "--annotate=3" command-line))

FWIW, this should be `((nil) ...)'. `nil' means an empty KEYLIST
(which always fails).

The manual says

     To make a clause that matches the actual symbol `t', `nil', or
     `otherwise', enclose the symbol in a list.

Maybe a similar note should be added to the docstring.

Johan Bockgård

reply via email to

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