diff lisp/progmodes/tcl.el @ 58563:72c3587cd01b

(tcl-omit-ws-regexp): Avoid the case where { or [ appears within a comment.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 27 Nov 2004 00:07:14 +0000
parents 937f83cb003d
children ee782d6579a8 549734260e34 f2ebccfa87d4
line wrap: on
line diff
--- a/lisp/progmodes/tcl.el	Sat Nov 27 00:04:16 2004 +0000
+++ b/lisp/progmodes/tcl.el	Sat Nov 27 00:07:14 2004 +0000
@@ -438,7 +438,7 @@
 ;;    proc foo { \n {arg1 def} \n arg2 } {
 ;; The current setting handles the first case properly but not the second.
 ;; It also fails if `proc' is not in column-0 (e.g. it's in a namespace).
-(defconst tcl-omit-ws-regexp "^[^]\" \t\n#}][^\n\"]+[ \t]+")
+(defconst tcl-omit-ws-regexp "^[^]\" \t\n#}][^\n\"#]+[ \t]+")