Mercurial > hg > xemacs-beta
comparison lisp/cc-mode/cc-vars.el @ 181:bfd6434d15b3 r20-3b17
Import from CVS: tag r20-3b17
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:53:19 +0200 |
parents | 6075d714658b |
children | e121b013d1f0 |
comparison
equal
deleted
inserted
replaced
180:add28d59e586 | 181:bfd6434d15b3 |
---|---|
5 ;; Authors: 1992-1997 Barry A. Warsaw | 5 ;; Authors: 1992-1997 Barry A. Warsaw |
6 ;; 1987 Dave Detlefs and Stewart Clamen | 6 ;; 1987 Dave Detlefs and Stewart Clamen |
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. |
14 | 14 |
15 ;; GNU Emacs is free software; you can redistribute it and/or modify | 15 ;; GNU Emacs is free software; you can redistribute it and/or modify |
101 "*Specifies how comment-only lines should be indented. | 101 "*Specifies how comment-only lines should be indented. |
102 When this variable is non-nil, comment-only lines are indented | 102 When this variable is non-nil, comment-only lines are indented |
103 according to syntactic analysis via `c-offsets-alist', even when | 103 according to syntactic analysis via `c-offsets-alist', even when |
104 \\[indent-for-comment] is used." | 104 \\[indent-for-comment] is used." |
105 :type 'boolean | 105 :type 'boolean |
106 :group 'c) | |
107 | |
108 (defcustom c-comment-continuation-stars "* " | |
109 "*Specifies the leader of continued block comments. | |
110 You should set this variable to the literal string that gets inserted | |
111 at the front of continued block style comment lines. This should | |
112 either be the empty string, or some number of stars followed by a | |
113 single space. Note that for line style comments, this variable is not | |
114 used." | |
115 :type '(choice (const :tag "Use old semantics" nil) | |
116 string) | |
106 :group 'c) | 117 :group 'c) |
107 | 118 |
108 (defcustom c-cleanup-list '(scope-operator) | 119 (defcustom c-cleanup-list '(scope-operator) |
109 "*List of various C/C++/ObjC constructs to \"clean up\". | 120 "*List of various C/C++/ObjC constructs to \"clean up\". |
110 These clean ups only take place when the auto-newline feature is | 121 These clean ups only take place when the auto-newline feature is |
396 "Variable containing syntactic analysis list during indentation.") | 407 "Variable containing syntactic analysis list during indentation.") |
397 | 408 |
398 (defvar c-indentation-style c-site-default-style | 409 (defvar c-indentation-style c-site-default-style |
399 "Name of style installed in the current buffer.") | 410 "Name of style installed in the current buffer.") |
400 | 411 |
412 (defvar c-buffer-is-cc-mode nil | |
413 "Non-nil for all buffers with a `major-mode' derived from CC Mode. | |
414 Otherwise, this variable is nil. I.e. this variable is non-nil for | |
415 `c-mode', `c++-mode', `objc-mode', `java-mode', `idl-mode', and any | |
416 other non-CC Mode mode that calls `c-initialize-cc-mode' | |
417 \(e.g. `awk-mode').") | |
418 (make-variable-buffer-local 'c-buffer-is-cc-mode) | |
419 | |
401 | 420 |
402 (provide 'cc-vars) | 421 (provide 'cc-vars) |
403 ;;; cc-vars.el ends here | 422 ;;; cc-vars.el ends here |