From dde1d6118b488d37b3b6daa5ef45104c7445a566 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Wed, 11 Oct 2017 22:24:21 -0300 Subject: [PATCH] Define sml/after-setup-hook and call after setup --- smart-mode-line.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/smart-mode-line.el b/smart-mode-line.el index 49bfd58..be9bbe4 100644 --- a/smart-mode-line.el +++ b/smart-mode-line.el @@ -1176,7 +1176,9 @@ Might implement a quick flash eventually." (unless (and (boundp 'erc-track-position-in-mode-line) (null erc-track-position-in-mode-line)) - (setq erc-track-position-in-mode-line t))) + (setq erc-track-position-in-mode-line t)) + + (run-hooks 'sml/after-setup-hook)) ;;;###autoload (defalias 'smart-mode-line-enable #'sml/setup)