emacs-devel
[Top][All Lists]
Advanced

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

Re: master d067ac5: Remove more compat code from prolog.el


From: Stefan Monnier
Subject: Re: master d067ac5: Remove more compat code from prolog.el
Date: Fri, 25 Sep 2020 10:04:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>>           (if (eq prolog-system 'mercury)
>>>               (list
>>>                (regexp-opt prolog-directives-i 'words)
>>> -              0 'prolog-warning-face)))
>>> +              0 prolog-warning-face)))
>>>          ;; Inferior mode specific patterns
[...]
> All the other places there used the variable instead of the symbol,
> I think?  For instance:
>
>          ;; FIXME: Add to compilation-error-regexp-alist instead.
>          (cond
>           ((eq prolog-system 'sicstus)
>            '("[ \t]*[0-9]+[ \t]+[0-9]+[ \t]*\\(Fail\\):"
>              1 prolog-warning-face))
>           ((eq prolog-system 'swi)
>            '("[ \t]*\\(Fail\\):[ \t]*([ \t0-9]*)" 1 prolog-warning-face))

Those other places are within a quote.


        Stefan




reply via email to

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