Mercurial > emacs
comparison lisp/progmodes/cc-defs.el @ 52610:ab5832ac1f83
Bumped patch release number. Minor docstring update.
author | Martin Stjernholm <mast@lysator.liu.se> |
---|---|
date | Wed, 24 Sep 2003 13:59:18 +0000 |
parents | 695cf19ef79e |
children | 49f65e04ba8e |
comparison
equal
deleted
inserted
replaced
52609:ce6cc36ebb7c | 52610:ab5832ac1f83 |
---|---|
103 (cc-external-require 'cl) | 103 (cc-external-require 'cl) |
104 | 104 |
105 | 105 |
106 ;;; Variables also used at compile time. | 106 ;;; Variables also used at compile time. |
107 | 107 |
108 (defconst c-version "5.30.6" | 108 (defconst c-version "5.30.7" |
109 "CC Mode version number.") | 109 "CC Mode version number.") |
110 | 110 |
111 (defconst c-version-sym (intern c-version)) | 111 (defconst c-version-sym (intern c-version)) |
112 ;; A little more compact and faster in comparisons. | 112 ;; A little more compact and faster in comparisons. |
113 | 113 |
114 (defvar c-buffer-is-cc-mode nil | 114 (defvar c-buffer-is-cc-mode nil |
115 "Non-nil for all buffers with a major mode derived from CC Mode. | 115 "Non-nil for all buffers with a major mode derived from CC Mode. |
116 Otherwise, this variable is nil. I.e. this variable is non-nil for | 116 Otherwise, this variable is nil. I.e. this variable is non-nil for |
117 `c-mode', `c++-mode', `objc-mode', `java-mode', `idl-mode', | 117 `c-mode', `c++-mode', `objc-mode', `java-mode', `idl-mode', |
118 `pike-mode', and any other non-CC Mode mode that calls | 118 `pike-mode', `awk-mode', and any other non-CC Mode mode that calls |
119 `c-initialize-cc-mode' (e.g. `awk-mode'). The value is the mode | 119 `c-initialize-cc-mode'. The value is the mode symbol itself |
120 symbol itself (i.e. `c-mode' etc) of the original CC Mode mode, or | 120 \(i.e. `c-mode' etc) of the original CC Mode mode, or just t if it's |
121 just t if it's not known.") | 121 not known.") |
122 (make-variable-buffer-local 'c-buffer-is-cc-mode) | 122 (make-variable-buffer-local 'c-buffer-is-cc-mode) |
123 | 123 |
124 ;; Have to make `c-buffer-is-cc-mode' permanently local so that it | 124 ;; Have to make `c-buffer-is-cc-mode' permanently local so that it |
125 ;; survives the initialization of the derived mode. | 125 ;; survives the initialization of the derived mode. |
126 (put 'c-buffer-is-cc-mode 'permanent-local t) | 126 (put 'c-buffer-is-cc-mode 'permanent-local t) |