(ada-create-syntax-table): Move
commitbef83666556ed398df332e7ded92529b783e43f2
authorMartin Rudalics <rudalics@gmx.at>
Sat, 18 Aug 2007 08:33:06 +0000 (18 08:33 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 18 Aug 2007 08:33:06 +0000 (18 08:33 +0000)
tree63eda4865404f973282f4eeb084ef1dc368df057
parentc2659333c28521b1ca9263d5a9dae88d853e7292
(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