]> git.eshelyaron.com Git - emacs.git/commitdiff
(tcl-omit-ws-regexp): Avoid the case where { or [ appears within a comment.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 27 Nov 2004 00:07:14 +0000 (00:07 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 27 Nov 2004 00:07:14 +0000 (00:07 +0000)
lisp/progmodes/tcl.el

index 2e26170196ef6a06f88b2d26f7a3c17ce9adbacd..4dba6b61a569d5b37416af038a32f159bb483029 100644 (file)
@@ -438,7 +438,7 @@ is a Tcl expression, and the last argument is Tcl commands.")
 ;;    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]+")
 
 \f