using ghc-add.
This commit is contained in:
parent
f9a8361bca
commit
122c8da7b0
@ -160,8 +160,8 @@ nil does not display errors/warnings.
|
|||||||
errs wrns)
|
errs wrns)
|
||||||
(dolist (msg msgs)
|
(dolist (msg msgs)
|
||||||
(if (string-match "^Warning" msg)
|
(if (string-match "^Warning" msg)
|
||||||
(setq wrns (cons msg wrns))
|
(ghc-add wrns msg)
|
||||||
(setq errs (cons msg errs))))
|
(ghc-add errs msg)))
|
||||||
(ghc-make-file-msgs :file file :msgs (nconc errs wrns))))))
|
(ghc-make-file-msgs :file file :msgs (nconc errs wrns))))))
|
||||||
|
|
||||||
(defun ghc-display-errors ()
|
(defun ghc-display-errors ()
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
(i 0)
|
(i 0)
|
||||||
acc)
|
acc)
|
||||||
(while (< i len)
|
(while (< i len)
|
||||||
(setq acc (cons (format "-%d-" (aref symbol i)) acc))
|
(ghc-add acc (format "-%d-" (aref symbol i)))
|
||||||
(setq i (1+ i)))
|
(setq i (1+ i)))
|
||||||
(apply 'concat (nreverse acc))))
|
(apply 'concat (nreverse acc))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user