summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-03-02 16:45:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-03-02 16:45:09 (GMT)
commit59b1308b6fa253332fc5635cd426e3ca0df3fe05 (patch)
tree3c936be940ba52f90eb5dfd1dcc7b77a96a826d5
parentccd502ad4462d7b87761b9066de1e372e77be445 (diff)
parentab9824e14f07111210ad113a982fd7523f73e9d3 (diff)
downloadCMake-59b1308b6fa253332fc5635cd426e3ca0df3fe05.zip
CMake-59b1308b6fa253332fc5635cd426e3ca0df3fe05.tar.gz
CMake-59b1308b6fa253332fc5635cd426e3ca0df3fe05.tar.bz2
Merge topic 'cmake-mode-case'
ab9824e cmake-mode.el: Make indentation case-insensitive (#12995)
-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 4418bfa..9517455 100644
--- a/Docs/cmake-mode.el
+++ b/Docs/cmake-mode.el
@@ -68,9 +68,9 @@ set the path with these commands:
"\\|" "[ \t\r\n]"
"\\)*"))
(defconst cmake-regex-block-open
- "^\\(IF\\|MACRO\\|FOREACH\\|ELSE\\|ELSEIF\\|WHILE\\|FUNCTION\\)$")
+ "^\\([iI][fF]\\|[mM][aA][cC][rR][oO]\\|[fF][oO][rR][eE][aA][cC][hH]\\|[eE][lL][sS][eE]\\|[eE][lL][sS][eE][iI][fF]\\|[wW][hH][iI][lL][eE]\\|[fF][uU][nN][cC][tT][iI][oO][nN]\\)$")
(defconst cmake-regex-block-close
- "^[ \t]*\\(ENDIF\\|ENDFOREACH\\|ENDMACRO\\|ELSE\\|ELSEIF\\|ENDWHILE\\|ENDFUNCTION\\)[ \t]*(")
+ "^[ \t]*\\([eE][nN][dD][iI][fF]\\|[eE][nN][dD][fF][oO][rR][eE][aA][cC][hH]\\|[eE][nN][dD][mM][aA][cC][rR][oO]\\|[eE][lL][sS][eE]\\|[eE][lL][sS][eE][iI][fF]\\|[eE][nN][dD][wW][hH][iI][lL][eE]\\|[eE][nN][dD][fF][uU][nN][cC][tT][iI][oO][nN]\\)[ \t]*(")
;------------------------------------------------------------------------------