Lines Matching defs:syntax
46 ;; either a string, a pathname, or a syntax-p.
51 ;; syntax-p: does nothing, already loaded
54 ;; syntax-p, the entry is removed.
104 (defun auto-mode (filename &optional symbol &aux syntax)
108 (setq syntax (cddr (find symbol *auto-modes* :key #'cdddr)))
120 (setq syntax (cddar mode) symbol (cdr syntax))
131 (when (consp syntax)
132 ;; point to the syntax file specification
133 (setq syntax (car syntax))
135 ;; try to load the syntax definition file
136 (if (stringp syntax)
141 syntax
145 (load syntax)
156 ;; The main syntax structure, normally, only one should exist per
157 ;; syntax highlight module.
159 ;; the extra data associated with syntax-highlight at initialization
160 ;; time, and will never be loaded if no syntax-highlight mode is
162 (defstruct syntax
163 name ;; A unique string to identify the syntax mode.
169 labels ;; Not exactly a list of labels, but all syntax
172 ;; used by this syntax mode.
174 ;; the syntax table.
183 ;; syntax highlight code interface. Combining properties allow easier
214 ;; the syntax-table.
344 (defun compile-syntax-property-list (name properties