]> git.eshelyaron.com Git - emacs.git/commitdiff
; compilation-error-regexp-alist-alist): eval-when-compile
authorMattias Engdegård <mattiase@acm.org>
Sat, 31 Jul 2021 21:44:17 +0000 (23:44 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 31 Jul 2021 21:44:17 +0000 (23:44 +0200)
lisp/progmodes/compile.el

index 02d1c588589d65cbbe39351524f0276d2d9c59bf..1fb6124ab562bd493df8bed6bbedacf14facb6c2 100644 (file)
@@ -173,6 +173,7 @@ and a string describing how the process finished.")
 ;; emacs -batch -l compile-tests.el -f ert-run-tests-batch-and-exit
 
 (defvar compilation-error-regexp-alist-alist
+ (eval-when-compile
   `((absoft
      "^\\(?:[Ee]rror on \\|[Ww]arning on\\( \\)\\)?[Ll]ine[ \t]+\\([0-9]+\\)[ \t]+\
 of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
@@ -615,7 +616,7 @@ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?"
     ;; we do not know what lines will follow.
     (guile-file "^In \\(.+\\..+\\):\n" 1 nil nil 0)
     (guile-line "^ *\\([0-9]+\\): *\\([0-9]+\\)" nil 1 2)
-    )
+    ))
   "Alist of values for `compilation-error-regexp-alist'.")
 
 (defcustom compilation-error-regexp-alist