]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change on 'compilation-parse-errors'
authorTobias Bading <tbading@web.de>
Mon, 25 Feb 2019 13:26:38 +0000 (14:26 +0100)
committerEli Zaretskii <eliz@gnu.org>
Fri, 1 Mar 2019 10:06:06 +0000 (12:06 +0200)
* lisp/progmodes/compile.el (compilation-parse-errors): Fix
previous change in this function.  (Bug#34479)

Copyright-paperwork-exempt: yes

lisp/progmodes/compile.el

index 5312a55a2587ce3aa2a9942663147e5281d68204..49b79de5851a5c2348d676e3b4d79782523e0b39 100644 (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