changeset 60578:634b2aa97a80

(dcl-mode-syntax-table): Add entry for backslash.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sat, 12 Mar 2005 16:58:50 +0000
parents 1bfdd67c0337
children c30a468142bb
files lisp/progmodes/dcl-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/dcl-mode.el	Sat Mar 12 02:18:32 2005 +0000
+++ b/lisp/progmodes/dcl-mode.el	Sat Mar 12 16:58:50 2005 +0000
@@ -284,13 +284,13 @@
 
 (defvar dcl-mode-syntax-table nil
   "Syntax table used in DCL-buffers.")
-(if dcl-mode-syntax-table
-    ()
+(unless dcl-mode-syntax-table
   (setq dcl-mode-syntax-table (make-syntax-table))
   (modify-syntax-entry ?!  "<" dcl-mode-syntax-table) ; comment start
   (modify-syntax-entry ?\n ">" dcl-mode-syntax-table) ; comment end
   (modify-syntax-entry ?< "(>" dcl-mode-syntax-table) ; < and ...
   (modify-syntax-entry ?> ")<" dcl-mode-syntax-table) ; > is a matching pair
+  (modify-syntax-entry ?\\ "_" dcl-mode-syntax-table) ; not an escape
 )