(ada-create-syntax-table): Move
commit35a745425f4030e7b2df5b9fb7a943d763d07add
authorMartin Rudalics <rudalics@gmx.at>
Sat, 18 Aug 2007 08:38:05 +0000 (18 08:38 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 18 Aug 2007 08:38:05 +0000 (18 08:38 +0000)
tree05ae535acf9222f74d52c2056f2f2bc9d86270d2
parent5beb9abb5239617d7f03ad41a89ded8e67a10fe3
(ada-create-syntax-table): Move
set-syntax-table from here to ...
(ada-mode): ... here.  Do not change global value of
comment-multi-line.  Call new function
ada-initialize-syntax-table-properties and add new function
ada-handle-syntax-table-properties to font-lock-mode-hook.
(ada-deactivate-properties, ada-initialize-properties): Replace
by new functions ...
(ada-handle-syntax-table-properties)
(ada-initialize-syntax-table-properties)
(ada-set-syntax-table-properties): ... to set up syntax-table
properties uniformly, independently from whether font-lock-mode
is enabled or not.  Handle read-only buffers and do not change
undo-list when setting syntax-table properties.
(ada-after-change-function): Use ada-set-syntax-table-properties.
lisp/ChangeLog
lisp/progmodes/ada-mode.el