summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-12-06 10:55:42 +0800
committerJSDurand <mmemmew@gmail.com>2021-12-06 10:55:42 +0800
commit88560a1b292c74accecdf8f46de9ff84a65d3e9b (patch)
treee55d7b1cf50cf2a8af3fa7aa8b41793165835c64 /init.el
parent7501c0b65c6226ed354f61854af5dfc33c96bd51 (diff)
LIN Is Noticeable
* bookmark-conf.el (blist-mode-hook): Highlight the current line. * init.el ("protesilaos/lin"): Add the package to remap some highlights.
Diffstat (limited to 'init.el')
-rw-r--r--init.el21
1 files changed, 21 insertions, 0 deletions
diff --git a/init.el b/init.el
index c0e0c71..f248d7e 100644
--- a/init.el
+++ b/init.el
@@ -162,6 +162,27 @@ no effect."
(use-package "rainbow-mode" 'rainbow-mode)
+;;; LIN Is Noticeable
+
+;; This is a package by Protesilaos.
+
+(use-package "protesilaos/lin" 'lin
+ (let ((list-of-hooks '(git-rebase-mode-hook
+ ibuffer-mode-hook
+ magit-log-mode-hook
+ notmuch-search-mode-hook
+ notmuch-tree-mode-hook
+ org-agenda-mode-hook
+ tabulated-list-mode-hook
+ blist-mode-hook)))
+ (mapc
+ (lambda (hook)
+ (cond
+ ;; don't do anything if the variable is not bounded.
+ ((boundp hook)
+ (add-hook hook #'lin-mode))))
+ list-of-hooks)))
+
;;; outline
(load-after-function durand-maybe-enable-outline "outline-conf.el"