Commit graph

25 commits

Author SHA1 Message Date
Martin Stjernholm
6635cf6e49 (c-set-style, c-set-style-1): Added another state for the
`dont-override' flag where it only keeps globally set variables.
2002-06-08 23:38:42 +00:00
Martin Stjernholm
a66cd3ee16 CC Mode update to version 5.29. This is for testing; it's not a released
version.
2002-04-22 00:35:36 +00:00
Pavel Janík
3afbc435ac Some fixes to follow coding conventions. 2001-07-16 07:46:48 +00:00
Richard M. Stallman
7c2ef7338d (c-set-style): Don't specify initial contents for completing-read. 2001-06-23 16:22:04 +00:00
Gerd Moellmann
130c507e58 Update to version 5.28. 2001-03-21 12:59:36 +00:00
Dave Love
e7cff5504b Fix copyright years. 2000-12-06 20:24:23 +00:00
Gerd Moellmann
6cfd56b338 (c-style-alist): The basic offset for the BSD
style corrected to 8.

(c-style-alist): Adjusted the indentation of
brace list openers in the gnu style.

(c-make-styles-buffer-local): Flag style
variable localness in c-style-variables-are-local-p to make
the compatibility measure in c-common-init work well.

(c-set-style-1): c-special-indent-hook can no
longer contain set-from-style.
(c-initialize-builtin-style): Don't check for
set-from-style on c-special-indent-hook.
(c-copy-tree): Obsolete.  The standard function
copy-alist is sufficient now.

(c-set-style, c-set-style-1,
c-get-style-variables): Fixes to variable initialization so
that duplicate entries in styles have the same effect
regardless of DONT-OVERRIDE.

(c-set-style-2): Fixed bug where the
initialization of inheriting styles failed when the
dont-override flag is set.
2000-07-24 11:10:15 +00:00
Gerd Moellmann
51f606dea8 Installed version 5.26 1999-12-12 18:24:19 +00:00
Barry A. Warsaw
0ec8351b95 Installed CC Mode 5.25. 1999-02-08 16:53:18 +00:00
Richard M. Stallman
f014d22e07 (c-copy-tree): New function.
(c-initialize-builtin-style): Use c-copy-tree.
1998-02-17 07:26:46 +00:00
Richard M. Stallman
0bacd8d0b2 (c-make-styles-buffer-local): Take an optional argument which switches
between make-variable-buffer-local and make-local-variable.  Generalize.

(c-offsets-alist): Three new syntactic symbols: innamespace,
namespace-open, namespace-close.  These support C++ namespace blocks.
Also, new syntactic symbol cpp-macro-cont, by default bound to
c-lineup-dont-change.  This symbol is assigned to subsequent lines of
a multi-line C preprocess macro definition.

(c-style-alist): "jdk" style for conformance with Sun's JDK style.

(c-set-style-2, c-initialize-builtin-style): Don't special case
"cc-mode", it's a derived style.  Fix setup of derived style
"cc-mode".  Introduce the new default style "user" which contains all
user customizations.
1998-02-17 07:13:59 +00:00
Karl Heuer
82aba9f42f (c-initialize-builtin-style):
Only use copy-tree if it is
funcall-able.  This is the right patch, and was given by Erik Naggum
<erik@naggum.no>
1997-10-23 07:50:28 +00:00
Karl Heuer
8220e74cf2 (c-initialize-builtin-style):
Use existing copy-tree if it's defined.

copy-sequence doesn't work; the
c-offsets-alist must be copied recursively.  Use copy-tree solution
given by Simon Marshall.
1997-10-23 07:32:07 +00:00
Richard M. Stallman
ecec411d9e (c-initialize-builtin-style): Don't ever try to use copy-tree. 1997-09-21 14:11:37 +00:00
Richard M. Stallman
f4a4c856ec (c-initialize-builtin-style):
Copy the whole tree instead of just copy-sequence.
1997-09-19 04:30:28 +00:00
Richard M. Stallman
62971612a2 (c-style-alist) <python>:, knr-argdecl-intro == +
fill-column = 78, arglist-intro <= +, inextern-lang <= 0.
Set c-comment-continuation-stars to "".
1997-09-08 03:22:22 +00:00
Richard M. Stallman
c3d3eea991 (c-style-alist): "python" style requires c-comment-continuation-stars be "". 1997-08-16 03:37:28 +00:00
Richard M. Stallman
b402d19f2f (c-style-alist) <gnu>:
Set c-comment-continuation-stars and c-hanging-comment-ender-p.
1997-08-14 22:10:02 +00:00
Richard M. Stallman
3900d73b85 (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.
1997-08-11 22:15:23 +00:00
Richard M. Stallman
63add9c9fe (c-styles-alist): In "java" style, set
c-hanging-comment-starter-p to nil to preserve Javadoc starter lines.

(c-set-style-2): Fixed broken implementation of inherited styles.

(c-set-style): Call c-initialize-builtin-style.
(c-initialize-builtin-style): Handle c-style-variables-are-local-p.
1997-08-09 18:36:45 +00:00
Richard M. Stallman
275a02d412 (c-set-offset): Add autoload cookie. 1997-08-07 17:36:36 +00:00
Richard M. Stallman
31b2af0a3b (c-initialize-builtin-style): Use copy-sequence
instead of c-copy-tree.

(c-copy-tree): Function deleted.
1997-07-18 02:12:00 +00:00
Richard M. Stallman
b0c23721e8 (c-copy-tree): Fix bugs. 1997-07-15 19:09:24 +00:00
Richard M. Stallman
41d58f6147 (c-copy-tree): New function.
(c-initialize-builtin-style): Use c-copy-tree.
1997-07-10 07:56:17 +00:00
Richard M. Stallman
785eecbbba Initial revision 1997-07-10 07:54:06 +00:00