summaryrefslogtreecommitdiff
path: root/Auxiliary/cmake-mode.el
diff options
context:
space:
mode:
authorTaylor Braun-Jones <taylor@braun-jones.org>2016-05-10 10:34:16 -0400
committerBrad King <brad.king@kitware.com>2016-05-10 13:50:26 -0400
commitf12b899f4ed1a578772506bd6c566d577f23fe7f (patch)
tree562808bc9ad90a9d9ca4d2dbdf7037af9843e5c7 /Auxiliary/cmake-mode.el
parent3ecdddfc35a0f0ecc1495d902f34d9cee2d59459 (diff)
downloadcmake-f12b899f4ed1a578772506bd6c566d577f23fe7f.tar.gz
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 d74dba0208..20def8be26 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)
;------------------------------------------------------------------------------