At one point in time I was running Emacs with an option which auto-commented ending braces with t开发者_如何学编程he label for the block they were closing (function name, if (condition), etc). I have since lost said option, and have spent several days searching for it. Is anyone familiar with an option, minor mode, or elisp snippet that accomplishes this task?
Verilog mode does this. I'm not familiar with Lisp, but as far as I understood the code the magic is done in verilog-label-be
.
精彩评论