comparison lisp/progmodes/cc-vars.el @ 19379:19c6e028d602

(c-buffer-is-cc-mode): Definition moved to cc-mode.el
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 Aug 1997 03:41:02 +0000
parents 4a99e63dc4a9
children ae1fd7734db0
comparison
equal deleted inserted replaced
19378:a1987ab30543 19379:19c6e028d602
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.15 10 ;; Version: 5.16
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
407 "Variable containing syntactic analysis list during indentation.") 407 "Variable containing syntactic analysis list during indentation.")
408 408
409 (defvar c-indentation-style c-site-default-style 409 (defvar c-indentation-style c-site-default-style
410 "Name of style installed in the current buffer.") 410 "Name of style installed in the current buffer.")
411 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 412
420 413
421 (provide 'cc-vars) 414 (provide 'cc-vars)
422 ;;; cc-vars.el ends here 415 ;;; cc-vars.el ends here