Skip to content

Commit

Permalink
Define sml/after-setup-hook and call after setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Malabarba committed Oct 12, 2017
1 parent 2164753 commit dde1d61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion smart-mode-line.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dde1d61

Please sign in to comment.