diff options
author | Brad King <brad.king@kitware.com> | 2006-09-23 20:32:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-09-23 20:32:34 (GMT) |
commit | 1c429da781083751902fe24e9e1f6ed9ff4ca9e5 (patch) | |
tree | 913f2302df0cd1f24de44bfdacd582f4ef61f2c8 /Docs | |
parent | c9fd17b884780d7704500ee6d4f1517649b1e498 (diff) | |
download | CMake-1c429da781083751902fe24e9e1f6ed9ff4ca9e5.zip CMake-1c429da781083751902fe24e9e1f6ed9ff4ca9e5.tar.gz CMake-1c429da781083751902fe24e9e1f6ed9ff4ca9e5.tar.bz2 |
ENH: Adding elseif indentation. See bug#3781.
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/cmake-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el index 160f0ec..a32f02b 100644 --- a/Docs/cmake-mode.el +++ b/Docs/cmake-mode.el @@ -55,9 +55,9 @@ "\\|" "[ \t\r\n]" "\\)*")) (defconst cmake-regex-block-open - "^\\(IF\\|MACRO\\|FOREACH\\|ELSE\\|WHILE\\)$") + "^\\(IF\\|MACRO\\|FOREACH\\|ELSE\\|ELSEIF\\|WHILE\\)$") (defconst cmake-regex-block-close - "^[ \t]*\\(ENDIF\\|ENDFOREACH\\|ENDMACRO\\|ELSE\\|ENDWHILE\\)[ \t]*(") + "^[ \t]*\\(ENDIF\\|ENDFOREACH\\|ENDMACRO\\|ELSE\\|ELSEIF\\|ENDWHILE\\)[ \t]*(") ;------------------------------------------------------------------------------ |