From 2bacc37c6c30de02210875aa29d367d63a403738 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Fri, 13 Oct 2017 14:04:50 +0200 Subject: [PATCH] Set type of some customizable options --- smart-mode-line.el | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/smart-mode-line.el b/smart-mode-line.el index 49bfd58..deef723 100644 --- a/smart-mode-line.el +++ b/smart-mode-line.el @@ -934,19 +934,24 @@ If you want it to show the backend, just set it to t." (defvar sml/projectile-loaded-p nil "Non-nil if projectile has been loaded.") (defcustom sml/pos-id-separator " " - "Miscellaneous mode-line construct.") + "Miscellaneous mode-line construct." + :type 'string) (put 'sml/pos-id-separator 'risky-local-variable t) (defcustom sml/pre-modes-separator " " - "Miscellaneous mode-line construct.") + "Miscellaneous mode-line construct." + :type 'string) (put 'sml/pre-modes-separator 'risky-local-variable t) (defcustom sml/pre-id-separator "" - "Miscellaneous mode-line construct.") + "Miscellaneous mode-line construct." + :type 'string) (put 'sml/pre-id-separator 'risky-local-variable t) (defcustom sml/pre-minor-modes-separator "" - "Miscellaneous mode-line construct.") + "Miscellaneous mode-line construct." + :type 'string) (put 'sml/pre-minor-modes-separator 'risky-local-variable t) (defcustom sml/pos-minor-modes-separator "" - "Miscellaneous mode-line construct.") + "Miscellaneous mode-line construct." + :type 'string) (put 'sml/pos-minor-modes-separator 'risky-local-variable t) (defun sml/-automatically-decide-theme ()