From: Lars Ingebrigtsen Date: Tue, 11 May 2021 13:51:42 +0000 (+0200) Subject: Fix comment end delimiter fontification in OPascal mode X-Git-Tag: emacs-28.0.90~2518 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=17a950cc80aa5aaa80e2452d4ca65a0b9d914e2b;p=emacs.git Fix comment end delimiter fontification in OPascal mode * lisp/progmodes/opascal.el (opascal-mode): Fontify the ending brace with `font-lock-comment-delimiter-face' correctly (bug#34088). --- diff --git a/lisp/progmodes/opascal.el b/lisp/progmodes/opascal.el index 662d2b4b74f..686e72ce6dd 100644 --- a/lisp/progmodes/opascal.el +++ b/lisp/progmodes/opascal.el @@ -1766,6 +1766,7 @@ Coloring: (setq-local syntax-propertize-function opascal--syntax-propertize) (setq-local comment-start "// ") + (setq-local comment-end "}") (setq-local comment-start-skip "\\(?://\\|(\\*\\|{\\)[ \t]*") (setq-local comment-end-skip "[ \t]*\\(?:\n\\|\\*)\\|}\\)"))