doomemacs/modules/ui
Henrik Lissner a3e262c7ac
💥 Refactor add-hook! macro & change arg order
This update may potentially break your usage of add-hook! if you pass
the :local or :append properties to it. This is how they used to work:

  (add-hook! :append 'some-mode-hook #'do-something)

Thsoe properties must now follow the hooks, e.g.

  (add-hook! 'some-mode-hook :append #'do-something)

Other changes:
- Various add-hook calls have been renamed to add-hook! because I
  incorrectly assumed `defun` always returned its definition's symbol,
  when in fact, its return value is "undefined" (so sayeth the
  documentation). This should fix #1597.
- This update adds the ability to add multiple functions to hooks
  without a list:

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

- The indentation logic has been changed so that consecutive function
  symbols at indented at the same level as the first argument, but forms
  are indent like a defun.

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

    (add-hook! 'some-mode-hook
      (message "Hello"))
2019-07-26 20:17:29 +02:00
..
deft 💥 Rename def-package! -> use-package! 2019-07-23 12:50:45 +02:00
doom 💥 Refactor add-hook! macro & change arg order 2019-07-26 20:17:29 +02:00
doom-dashboard core-lib: add doom-{glob,path,dir}, replace {file,dir}! 2019-07-22 02:30:39 +02:00
doom-quit
fill-column 💥 Refactor add-hook! macro & change arg order 2019-07-26 20:17:29 +02:00
hl-todo 💥 Rename def-package! -> use-package! 2019-07-23 12:50:45 +02:00
hydra Add ui/hydra module 2019-07-22 23:51:12 +02:00
indent-guides 💥 Rename def-package! -> use-package! 2019-07-23 12:50:45 +02:00
modeline def-advice!->defadvice! & conform to new advice conventions 2019-07-23 17:24:56 +02:00
nav-flash 💥 Refactor add-hook! macro & change arg order 2019-07-26 20:17:29 +02:00
neotree def-advice!->defadvice! & conform to new advice conventions 2019-07-23 17:24:56 +02:00
ophints 💥 Rename def-package! -> use-package! 2019-07-23 12:50:45 +02:00
popup 💥 Refactor add-hook! macro & change arg order 2019-07-26 20:17:29 +02:00
pretty-code
tabbar ui/tabbar: set variables sooner 2019-07-25 01:49:15 +02:00
treemacs 💥 Rename def-package! -> use-package! 2019-07-23 12:50:45 +02:00
unicode Fix 'command not found' errors for hidden commands 2019-07-22 04:46:14 +02:00
vc-gutter 💥 Refactor add-hook! macro & change arg order 2019-07-26 20:17:29 +02:00
vi-tilde-fringe 💥 Refactor add-hook! macro & change arg order 2019-07-26 20:17:29 +02:00
window-select 💥 Rename def-package! -> use-package! 2019-07-23 12:50:45 +02:00
workspaces 💥 Refactor add-hook! macro & change arg order 2019-07-26 20:17:29 +02:00