diff options
| author | Stefan Monnier | 2004-11-27 00:04:16 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-11-27 00:04:16 +0000 |
| commit | 60273d661df95cc216467f14713ce53338d26f02 (patch) | |
| tree | 12ff99ff649c05bc60be5f6a6a4ea0b3b2cc3eba | |
| parent | ce721de4327b036a0bbfae95a2f6b37751cbd2cd (diff) | |
| download | emacs-60273d661df95cc216467f14713ce53338d26f02.tar.gz emacs-60273d661df95cc216467f14713ce53338d26f02.zip | |
(tcl-omit-ws-regexp): Avoid the case where { or [ appears within a string.
| -rw-r--r-- | lisp/progmodes/tcl.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index 6965dea9fc1..2e26170196e 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el | |||
| @@ -438,7 +438,7 @@ is a Tcl expression, and the last argument is Tcl commands.") | |||
| 438 | ;; proc foo { \n {arg1 def} \n arg2 } { | 438 | ;; proc foo { \n {arg1 def} \n arg2 } { |
| 439 | ;; The current setting handles the first case properly but not the second. | 439 | ;; The current setting handles the first case properly but not the second. |
| 440 | ;; It also fails if `proc' is not in column-0 (e.g. it's in a namespace). | 440 | ;; It also fails if `proc' is not in column-0 (e.g. it's in a namespace). |
| 441 | (defconst tcl-omit-ws-regexp "^[^] \t\n#}].+[ \t]+") | 441 | (defconst tcl-omit-ws-regexp "^[^]\" \t\n#}][^\n\"]+[ \t]+") |
| 442 | 442 | ||
| 443 | 443 | ||
| 444 | 444 | ||