From 0edcba87d0297124b988fb5c22b20a0c6ac13af1 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 8 Nov 2011 14:19:36 -0500 Subject: [PATCH] delphi syntax table fix for bug#9994 * lisp/progmodes/delphi.el (delphi-mode-syntax-table): Let define-derived-mode define a proper syntax table. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/delphi.el | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 44f81a92237..b1039c77243 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-11-08 Glenn Morris + + * progmodes/delphi.el (delphi-mode-syntax-table): + Let define-derived-mode define a proper syntax table. (Bug#9994) + 2011-11-08 Stefan Monnier * window.el: Stay away from defsubst. diff --git a/lisp/progmodes/delphi.el b/lisp/progmodes/delphi.el index e8e2f8ffbf0..e513b617022 100644 --- a/lisp/progmodes/delphi.el +++ b/lisp/progmodes/delphi.el @@ -1959,10 +1959,6 @@ comment block. If not in a // comment, just does a normal newline." kmap) "Keymap used in Delphi mode.") -(defvar delphi-mode-syntax-table nil - "Delphi mode's syntax table. It is just a standard syntax table. -This is ok since we do our own keyword/comment/string face coloring.") - ;;;###autoload (define-derived-mode delphi-mode prog-mode "Delphi" "Major mode for editing Delphi code. \\ -- 2.39.2