bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#55744: infinite loop


From: Daniel R. Grayson
Subject: bug#55744: infinite loop
Date: Wed, 1 Jun 2022 07:27:22 -0700

Okay, I did that, and it seems to be this:

(defconst M2-mode-font-lock-keywords ' ( "///\\(/?/?[^/]\\|\\(//\\)*////[^/]\\)*\\(//\\)*///" . 'font-lock-string-face) )
(define-derived-mode M2-mode prog-mode "Macaulay2" (setq font-lock-defaults '( M2-mode-font-lock-keywords )) )
(add-to-list 'auto-mode-alist '("\\.m2\\'" . M2-mode))

reply via email to

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