diff options
| author | Tom Tromey | 2018-07-03 22:13:27 -0600 |
|---|---|---|
| committer | Tom Tromey | 2018-07-03 22:13:27 -0600 |
| commit | 38ea8e147add0b386737df4145d7ee0fc841fe55 (patch) | |
| tree | 864a27c77ffc79f721ce9335bd1444eed87d92b6 /lisp | |
| parent | f9f0c993845cc51517cef6ed06b0cabe102dcd9f (diff) | |
| download | emacs-38ea8e147add0b386737df4145d7ee0fc841fe55.tar.gz emacs-38ea8e147add0b386737df4145d7ee0fc841fe55.zip | |
Fix Tcl indentation in a namespace
Fixes bug#32035
* lisp/progmodes/tcl.el (tcl-proc-list): Add "namespace".
* test/lisp/progmodes/tcl-tests.el (tcl-mode-namespace-indent): New
test.
Diffstat (limited to 'lisp')
| -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 fad62e100a4..586d8cc0ed0 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el | |||
| @@ -360,7 +360,7 @@ Add functions to the hook with `add-hook': | |||
| 360 | 360 | ||
| 361 | 361 | ||
| 362 | (defvar tcl-proc-list | 362 | (defvar tcl-proc-list |
| 363 | '("proc" "method" "itcl_class" "body" "configbody" "class") | 363 | '("proc" "method" "itcl_class" "body" "configbody" "class" "namespace") |
| 364 | "List of commands whose first argument defines something. | 364 | "List of commands whose first argument defines something. |
| 365 | This exists because some people (eg, me) use `defvar' et al. | 365 | This exists because some people (eg, me) use `defvar' et al. |
| 366 | Call `tcl-set-proc-regexp' and `tcl-set-font-lock-keywords' | 366 | Call `tcl-set-proc-regexp' and `tcl-set-font-lock-keywords' |