From c4b7fe9af95117aa156b282e5b78bcd144d75b71 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Wed, 13 May 2015 21:59:59 -0400 Subject: [PATCH] One / instead of two for functions used in spacemacs/post-theme-init --- core/core-micro-state.el | 4 ++-- core/core-themes-support.el | 8 ++++---- spacemacs/packages.el | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/core-micro-state.el b/core/core-micro-state.el index 737d5c619..8dde2bfc5 100644 --- a/core/core-micro-state.el +++ b/core/core-micro-state.el @@ -12,7 +12,7 @@ ;;; License: GPLv3 (require 'lv) -(defun spacemacs//defface-micro-state-faces () +(defun spacemacs/defface-micro-state-faces () "Define faces for micro-states." (let* ((hname 'spacemacs-micro-state-header-face) (bname 'spacemacs-micro-state-binding-face) @@ -35,7 +35,7 @@ Characters enclosed in `[]' will have this face applied to them." (set-face-attribute bname nil :foreground err :bold t))) -(spacemacs//defface-micro-state-faces) +(spacemacs/defface-micro-state-faces) (defmacro spacemacs|define-micro-state (name &rest props) "Define a micro-state called NAME. diff --git a/core/core-themes-support.el b/core/core-themes-support.el index fd19ebb25..d525c4cad 100644 --- a/core/core-themes-support.el +++ b/core/core-themes-support.el @@ -212,10 +212,10 @@ changed to THEME." (spacemacs/set-flycheck-mode-line-faces)) (when (fboundp 'spacemacs/set-new-version-lighter-mode-line-faces) (spacemacs/set-new-version-lighter-mode-line-faces)) - (when (fboundp 'spacemacs//defface-micro-state-faces) - (spacemacs//defface-micro-state-faces)) - (when (fboundp 'spacemacs//customize-powerline-faces) - (spacemacs//customize-powerline-faces)) + (when (fboundp 'spacemacs/defface-micro-state-faces) + (spacemacs/defface-micro-state-faces)) + (when (fboundp 'spacemacs/customize-powerline-faces) + (spacemacs/customize-powerline-faces)) (when (fboundp 'powerline-reset) (powerline-reset)) (when (fboundp 'spacemacs/adaptive-evil-highlight-persist-face) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index da4712b6b..4bcbb8398 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -2280,11 +2280,11 @@ displayed in the mode-line.") (setq-default powerline-default-separator 'wave) (setq-default powerline-default-separator 'utf-8)) - (defun spacemacs//customize-powerline-faces () + (defun spacemacs/customize-powerline-faces () "Alter powerline face to make them work with more themes." (set-face-attribute 'powerline-inactive2 nil :inherit 'font-lock-comment-face)) - (spacemacs//customize-powerline-faces) + (spacemacs/customize-powerline-faces) (defun spacemacs/mode-line-prepare-left ()