Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/lisp/cc-mode/cc-vars.el Mon Aug 13 09:52:21 2007 +0200 +++ b/lisp/cc-mode/cc-vars.el Mon Aug 13 09:53:19 2007 +0200 @@ -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.14 +;; Version: 5.15 ;; Keywords: c languages oop ;; This file is part of GNU Emacs. @@ -105,6 +105,17 @@ :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 @@ (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