From 30fad8b08b3e7e1e805ed616aa959dd556ecf3cb Mon Sep 17 00:00:00 2001 From: Sean Farley Date: Tue, 5 Feb 2019 11:06:21 -0800 Subject: [PATCH] irc: fix lui track bar not being enabled It seemed I mistakenly put this in an `evil` block and didn't notice. --- modules/app/irc/config.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/app/irc/config.el b/modules/app/irc/config.el index a89f6163c..901d45d59 100644 --- a/modules/app/irc/config.el +++ b/modules/app/irc/config.el @@ -203,9 +203,6 @@ after prompt marker." (add-hook! 'lui-mode-hook (add-hook 'evil-insert-state-entry-hook #'+irc|evil-insert nil t)) - ;; enable a horizontal line marking the last read message - (add-hook 'lui-mode-hook #'enable-lui-track-bar) - (mapc (lambda (cmd) (push cmd +irc-scroll-to-bottom-on-commands)) '(evil-paste-after evil-paste-before evil-open-above evil-open-below))) @@ -229,6 +226,9 @@ Courtesy of esh-mode.el" (add-hook! 'lui-mode-hook (add-hook 'pre-command-hook #'+irc|preinput-scroll-to-bottom nil t)) + ;; enable a horizontal line marking the last read message + (add-hook! 'lui-mode-hook #'enable-lui-track-bar) + (defun +irc|init-lui-margins () (setq lui-time-stamp-position 'right-margin lui-time-stamp-format +irc-time-stamp-format