Skip to content

Commit

Permalink
Set type of some customizable options
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Oct 13, 2017
1 parent 2164753 commit 2bacc37
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions smart-mode-line.el
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit 2bacc37

Please sign in to comment.