mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Revert addition of electric-block-comment-mode & follow-up commits
As presently under discussion in bug#77823, the intended new functionality is not really about comments at all. Remove it for now to allow us to redesign from a clean slate, and to deal with the regression reported in bug#77823. This reverts the following three changesets: Author: Elías Gabriel Pérez <eg642616@gmail.com> AuthorDate: Mon Mar 17 12:56:52 2025 -0600 New minor mode: `electric-block-comment-mode' Author: Elías Gabriel Pérez <eg642616@gmail.com> AuthorDate: Mon Mar 31 17:58:16 2025 -0600 Add block-comment-start and block-comment-end to supported modes Author: Elías Gabriel Pérez <eg642616@gmail.com> AuthorDate: Sun Apr 13 12:26:08 2025 -0600 Add block-comment variables to cc-mode
This commit is contained in:
parent
871ec9615a
commit
4808f785cc
17 changed files with 5 additions and 78 deletions
|
|
@ -1767,9 +1767,7 @@ Coloring:
|
|||
|
||||
(setq-local comment-start "// ")
|
||||
(setq-local comment-start-skip "\\(?://\\|(\\*\\|{\\)[ \t]*")
|
||||
(setq-local comment-end-skip "[ \t]*\\(?:\n\\|\\*)\\|}\\)")
|
||||
(setq-local block-comment-start "(*")
|
||||
(setq-local block-comment-end "*)"))
|
||||
(setq-local comment-end-skip "[ \t]*\\(?:\n\\|\\*)\\|}\\)"))
|
||||
|
||||
(provide 'opascal)
|
||||
;;; opascal.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue