From f12b899f4ed1a578772506bd6c566d577f23fe7f Mon Sep 17 00:00:00 2001 From: Taylor Braun-Jones Date: Tue, 10 May 2016 10:34:16 -0400 Subject: [PATCH] cmake-mode.el: Make cmake-tab-width a customizable variable --- Auxiliary/cmake-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index d74dba020..20def8be2 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) ;------------------------------------------------------------------------------