[cmake-commits] king committed cmake-mode.el 1.30 1.31

cmake-commits at cmake.org cmake-commits at cmake.org
Sat Sep 23 16:32:37 EDT 2006


Update of /cvsroot/CMake/CMake/Docs
In directory public:/mounts/ram/cvs-serv22662

Modified Files:
	cmake-mode.el 
Log Message:
ENH: Adding elseif indentation.  See bug#3781.


Index: cmake-mode.el
===================================================================
RCS file: /cvsroot/CMake/CMake/Docs/cmake-mode.el,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- cmake-mode.el	26 Apr 2006 19:54:58 -0000	1.30
+++ cmake-mode.el	23 Sep 2006 20:32:34 -0000	1.31
@@ -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]*(")
 
 ;------------------------------------------------------------------------------
 



More information about the Cmake-commits mailing list