aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-11 22:15:23 +0000
committerRichard M. Stallman1997-08-11 22:15:23 +0000
commit3900d73b855210e0e5adfbf491002380869eb62e (patch)
treeaa36ea6b698770a4ee627e606f7ed99c0c312de9
parent0ba15561260262ce70ce587560871b6c9a33c2d5 (diff)
downloademacs-3900d73b855210e0e5adfbf491002380869eb62e.tar.gz
emacs-3900d73b855210e0e5adfbf491002380869eb62e.zip
(c-offsets-alist): Added template-args-cont syntactic symbol.
(c-styles-alist): In "java" style, set c-hanging-comment-starter-p to nil to preserve Javadoc starter lines.
-rw-r--r--lisp/progmodes/cc-styles.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-styles.el b/lisp/progmodes/cc-styles.el
index ebd94d39475..9e37dba4186 100644
--- a/lisp/progmodes/cc-styles.el
+++ b/lisp/progmodes/cc-styles.el
@@ -7,7 +7,7 @@
7;; 1985 Richard M. Stallman 7;; 1985 Richard M. Stallman
8;; Maintainer: cc-mode-help@python.org 8;; Maintainer: cc-mode-help@python.org
9;; Created: 22-Apr-1997 (split from cc-mode.el) 9;; Created: 22-Apr-1997 (split from cc-mode.el)
10;; Version: 5.14 10;; Version: 5.15
11;; Keywords: c languages oop 11;; Keywords: c languages oop
12 12
13;; This file is part of GNU Emacs. 13;; This file is part of GNU Emacs.
@@ -330,6 +330,7 @@ STYLE using `c-set-style' if the optional SET-P flag is non-nil."
330 (extern-lang-open . 0) 330 (extern-lang-open . 0)
331 (extern-lang-close . 0) 331 (extern-lang-close . 0)
332 (inextern-lang . +) 332 (inextern-lang . +)
333 (template-args-cont . +)
333 ) 334 )
334 "Association list of syntactic element symbols and indentation offsets. 335 "Association list of syntactic element symbols and indentation offsets.
335As described below, each cons cell in this list has the form: 336As described below, each cons cell in this list has the form:
@@ -428,6 +429,7 @@ Here is the current list of valid syntactic element symbols:
428 extern-lang-open -- brace that opens an external language block 429 extern-lang-open -- brace that opens an external language block
429 extern-lang-close -- brace that closes an external language block 430 extern-lang-close -- brace that closes an external language block
430 inextern-lang -- analogous to `inclass' syntactic symbol 431 inextern-lang -- analogous to `inclass' syntactic symbol
432 template-args-cont -- C++ template argument list continuations
431") 433")
432 434
433(defun c-get-offset (langelem) 435(defun c-get-offset (langelem)