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