From d0c17f0d1073e4d50703d31a70131d45f46b7a32 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 5 Jul 2016 12:13:27 -0700 Subject: [PATCH] Move advice adds of github-notifier-mode --- dotfiles/emacs.d/README.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index e0b49f84..603717fc 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -3428,6 +3428,11 @@ Ensure all themes that I use are installed: (delq 'github-notifier-mode-line global-mode-string))) :config (progn + (advice-add 'github-notifier-mode :after + 'spaceline-gh-notifier-disable-default-notifier-modeline) + (advice-add 'github-notifier-update :after + 'spaceline-gh-notifier-disable-default-notifier-modeline) + (setq powerline-default-separator (random-choice '(butt slant wave))) (setq spaceline-workspace-numbers-unicode t spaceline-window-numbers-unicode t) @@ -3439,11 +3444,6 @@ Ensure all themes that I use are installed: (format "🚇%s" (imalison:get-cached-muni-time)) :when active) - (advice-add 'github-notifier-mode :after - 'spaceline-gh-notifier-disable-default-notifier-modeline) - (advice-add 'github-notifier-update :after - 'spaceline-gh-notifier-disable-default-notifier-modeline) - (spaceline-define-segment spaceline-gh-notifier "Display the number of github notifications the user has" (format "✉%s" github-notifier-unread-count)