emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/tuareg 742037b 04/10: Update the comment of the code putti


From: ELPA Syncer
Subject: [nongnu] elpa/tuareg 742037b 04/10: Update the comment of the code putting 'ocaml error regexp first
Date: Fri, 27 Aug 2021 09:57:36 -0400 (EDT)

branch: elpa/tuareg
commit 742037bf67903e8eb53b46a9169dc6a3c223e557
Author: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Commit: Christophe Troestler <Christophe.Troestler@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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]