changeset 51949:bc247bdc17d4

#Updated to 5.30.4.
author Martin Stjernholm <mast@lysator.liu.se>
date Wed, 16 Jul 2003 20:59:57 +0000
parents b881031be46c
children 249369644c5e
files lisp/progmodes/cc-vars.el
diffstat 1 files changed, 14 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-vars.el	Wed Jul 16 20:55:10 2003 +0000
+++ b/lisp/progmodes/cc-vars.el	Wed Jul 16 20:59:57 2003 +0000
@@ -1504,14 +1504,9 @@
 (cc-bytecomp-defvar c-syntactic-context)
 (defvar c-syntactic-context)
 ;; Variable containing the syntactic analysis list during indentation.
-;; It is a list with one element for each found syntactic symbol.
-;; Each element is a list with the symbol name in the first position,
-;; followed by zero or more elements containing any additional info
-;; associated with the syntactic symbol.  Specifically, the second
-;; element is the relpos (a.k.a. anchor position), or nil if there
-;; isn't any.  See the comments in the `c-offsets-alist' variable for
-;; more detailed info about the data each syntactic symbol provides.
-;; 
+;; It is a list with one element for each found syntactic symbol.  See
+;; `c-syntactic-element' for further info.
+;;
 ;; This is always bound dynamically.  It should never be set
 ;; statically (e.g. with `setq').
 
@@ -1519,7 +1514,17 @@
 (defvar c-syntactic-element)
 ;; Variable containing the info regarding the current syntactic
 ;; element during calls to the lineup functions.  The value is one of
-;; the elements in the list in `c-syntactic-context'.
+;; the elements in the list in `c-syntactic-context' and is a list
+;; with the symbol name in the first position, followed by zero or
+;; more elements containing any additional info associated with the
+;; syntactic symbol.  There are accessor functions `c-langelem-sym',
+;; `c-langelem-pos', `c-langelem-col', and `c-langelem-2nd-pos' to
+;; access the list.
+;;
+;; Specifically, the element returned by `c-langelem-pos' is the
+;; relpos (a.k.a. anchor position), or nil if there isn't any.  See
+;; the comments in the `c-offsets-alist' variable for more detailed
+;; info about the data each syntactic symbol provides.
 ;; 
 ;; This is always bound dynamically.  It should never be set
 ;; statically (e.g. with `setq').