summaryrefslogtreecommitdiffstats
path: root/Docs/cmake-mode.el
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-23 20:32:34 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-23 20:32:34 (GMT)
commit1c429da781083751902fe24e9e1f6ed9ff4ca9e5 (patch)
tree913f2302df0cd1f24de44bfdacd582f4ef61f2c8 /Docs/cmake-mode.el
parentc9fd17b884780d7704500ee6d4f1517649b1e498 (diff)
downloadCMake-1c429da781083751902fe24e9e1f6ed9ff4ca9e5.zip
CMake-1c429da781083751902fe24e9e1f6ed9ff4ca9e5.tar.gz
CMake-1c429da781083751902fe24e9e1f6ed9ff4ca9e5.tar.bz2
ENH: Adding elseif indentation. See bug#3781.
Diffstat (limited to 'Docs/cmake-mode.el')
-rw-r--r--Docs/cmake-mode.el4
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]*(")
;------------------------------------------------------------------------------