emacs-diffs
[Top][All Lists]
Advanced

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

master 17a950c: Fix comment end delimiter fontification in OPascal mode


From: Lars Ingebrigtsen
Subject: master 17a950c: Fix comment end delimiter fontification in OPascal mode
Date: Tue, 11 May 2021 09:52:38 -0400 (EDT)

branch: master
commit 17a950cc80aa5aaa80e2452d4ca65a0b9d914e2b
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/progmodes/opascal.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/opascal.el b/lisp/progmodes/opascal.el
index 662d2b4..686e72c 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\\|\\*)\\|}\\)"))
 



reply via email to

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