Fix last change on 'compilation-parse-errors'

* lisp/progmodes/compile.el (compilation-parse-errors): Fix
previous change in this function.  (Bug#34479)

Copyright-paperwork-exempt: yes
This commit is contained in:
Tobias Bading 2019-02-25 14:26:38 +01:00 committed by Eli Zaretskii
parent 1dff097393
commit 560c84b62b

View file

@ -1432,7 +1432,7 @@ to `compilation-error-regexp-alist' if RULES is nil."
(let ((this-type (if (consp type)
(compilation-type type)
(or type 2))))
(compilation--note-type type)
(compilation--note-type this-type)
(compilation--put-prop
file 'font-lock-face