Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d278ad4f
Commit
d278ad4f
authored
Aug 11, 1997
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(c-buffer-is-cc-mode): New variable.
(c-comment-continuation-stars): New variable.
parent
0fc3821e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
lisp/progmodes/cc-vars.el
lisp/progmodes/cc-vars.el
+20
-1
No files found.
lisp/progmodes/cc-vars.el
View file @
d278ad4f
...
...
@@ -7,7 +7,7 @@
;; 1985 Richard M. Stallman
;; Maintainer: cc-mode-help@python.org
;; Created: 22-Apr-1997 (split from cc-mode.el)
;; Version: 5.1
4
;; Version: 5.1
5
;; Keywords: c languages oop
;; This file is part of GNU Emacs.
...
...
@@ -105,6 +105,17 @@ according to syntactic analysis via `c-offsets-alist', even when
:type
'boolean
:group
'c
)
(
defcustom
c-comment-continuation-stars
"* "
"*Specifies the leader of continued block comments.
You should set this variable to the literal string that gets inserted
at the front of continued block style comment lines. This should
either be the empty string, or some number of stars followed by a
single space. Note that for line style comments, this variable is not
used."
:type
'
(
choice
(
const
:tag
"Use old semantics"
nil
)
string
)
:group
'c
)
(
defcustom
c-cleanup-list
'
(
scope-operator
)
"*List of various C/C++/ObjC constructs to \"clean up\".
These clean ups only take place when the auto-newline feature is
...
...
@@ -398,6 +409,14 @@ as designated in the variable `c-file-style'.")
(
defvar
c-indentation-style
c-site-default-style
"Name of style installed in the current buffer."
)
(
defvar
c-buffer-is-cc-mode
nil
"Non-nil for all buffers with a `major-mode' derived from CC Mode.
Otherwise, this variable is nil. I.e. this variable is non-nil for
`c-mode', `c++-mode', `objc-mode', `java-mode', `idl-mode', and any
other non-CC Mode mode that calls `c-initialize-cc-mode'
\(e.g. `awk-mode')."
)
(
make-variable-buffer-local
'c-buffer-is-cc-mode
)
(
provide
'cc-vars
)
;;; cc-vars.el ends here
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment