summaryrefslogtreecommitdiffstats
path: root/Auxiliary/cmake-mode.el
diff options
context:
space:
mode:
authorTaylor Braun-Jones <taylor@braun-jones.org>2016-05-10 14:34:16 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-10 17:50:26 (GMT)
commitf12b899f4ed1a578772506bd6c566d577f23fe7f (patch)
tree562808bc9ad90a9d9ca4d2dbdf7037af9843e5c7 /Auxiliary/cmake-mode.el
parent3ecdddfc35a0f0ecc1495d902f34d9cee2d59459 (diff)
downloadCMake-f12b899f4ed1a578772506bd6c566d577f23fe7f.zip
CMake-f12b899f4ed1a578772506bd6c566d577f23fe7f.tar.gz
CMake-f12b899f4ed1a578772506bd6c566d577f23fe7f.tar.bz2
cmake-mode.el: Make cmake-tab-width a customizable variable
Diffstat (limited to 'Auxiliary/cmake-mode.el')
-rw-r--r--Auxiliary/cmake-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
index d74dba0..20def8b 100644
--- a/Auxiliary/cmake-mode.el
+++ b/Auxiliary/cmake-mode.el
@@ -228,7 +228,9 @@ the indentation. Otherwise it retains the same position on the line"
;;
;; Indentation increment.
;;
-(defvar cmake-tab-width 2)
+(defcustom cmake-tab-width 2
+ "Number of columns to indent cmake blocks"
+ :type 'integer)
;------------------------------------------------------------------------------