[go: up one dir, main page]

Skip to content

Automatically add lin to reasonable hooks

Hi,

thank you for lin that I've just enabled. I'm wondering if lin could provide a function (e.g., lin-setup or the more explicit lin-add-to-many-modes) that would add itself to many known mode hooks. I've started collecting a few:

  • git-rebase-mode-hook
  • magit-log-mode-hook
  • notmuch-search-mode-hook
  • notmuch-tree-mode-hook
  • org-agenda-mode-hook
  • tabulated-list-mode-hook

Even if I don't use a package (e.g., elfeed), it wouldn't hurt me that the new function adds lin to hooks of these packages.

Edited by Damien Cassou