branch: elpa/tuareg commit 742037bf67903e8eb53b46a9169dc6a3c223e557 Author: Christophe Troestler <christophe.troest...@umons.ac.be> Commit: Christophe Troestler <christophe.troest...@umons.ac.be>
Update the comment of the code putting 'ocaml error regexp first --- tuareg.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tuareg.el b/tuareg.el index ab186e1..14237b5 100644 --- a/tuareg.el +++ b/tuareg.el @@ -3230,13 +3230,13 @@ OCaml uses exclusive end-columns but Emacs wants them to be inclusive." (delq 'ocaml compilation-error-regexp-alist)) (push 'ocaml compilation-error-regexp-alist) - (eval-after-load 'caml - ;; caml-mode also changes `compilation-error-regexp-alist' with a - ;; too simple regexp. Make sure the one above comes first. - #'(lambda() - (setq compilation-error-regexp-alist - (delete 'ocaml compilation-error-regexp-alist)) - (push 'ocaml compilation-error-regexp-alist)))) + (with-eval-after-load 'caml + ;; Older versions of caml-mode also changes + ;; `compilation-error-regexp-alist' with a too simple regexp. + ;; Make sure the one above comes first. + (setq compilation-error-regexp-alist + (delq 'ocaml compilation-error-regexp-alist)) + (push 'ocaml compilation-error-regexp-alist))) ;; Wrapper around next-error.