mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 03:13:24 +00:00
Add block-comment variables to cc-mode.
* lisp/progmodes/cc-cmds.el (c-indent-new-comment-line): Add block-comment-start and block-comment-end * lisp/progmodes/cc-mode.el (c-basic-common-init): Declare block-comment-start and block-comment-end buffer-local. * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Move block-comment variables ... (lisp-mode): ... to here. (Bug#77424)
This commit is contained in:
parent
788c9cfb62
commit
74842b4cb2
3 changed files with 5 additions and 2 deletions
|
@ -701,8 +701,6 @@ font-lock keywords will not be case sensitive."
|
|||
(setq-local add-log-current-defun-function #'lisp-current-defun-name)
|
||||
(setq-local comment-start ";")
|
||||
(setq-local comment-start-skip ";+ *")
|
||||
(setq-local block-comment-start "#|")
|
||||
(setq-local block-comment-end "|#")
|
||||
(setq-local comment-add 1) ;default to `;;' in comment-region
|
||||
(setq-local comment-column 40)
|
||||
(setq-local comment-use-syntax t)
|
||||
|
@ -830,6 +828,8 @@ or to switch back to an existing one."
|
|||
"\\(\\(^\\|[^\\\n]\\)\\(\\\\\\\\\\)*\\)\\(;+\\|#|\\) *")
|
||||
(setq-local comment-end-skip "[ \t]*\\(\\s>\\||#\\)")
|
||||
(setq-local font-lock-comment-end-skip "|#")
|
||||
(setq-local block-comment-start "#|")
|
||||
(setq-local block-comment-end "|#")
|
||||
(setq imenu-case-fold-search t))
|
||||
|
||||
(defun lisp-find-tag-default ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue