💥 Change set-popup-rule! usage

Now accepts a flat plist of all its former parameters, including new
:parameters and :actions properties to increase your control over the
fate of your windows.

The old usage of set-popup-rule! is deprecated and may not work right!

The :ui popup module has also seen a major refactor to improve
efficiency and load times.

Sorry! This is the last "big" change before 2.1!
This commit is contained in:
Henrik Lissner
2018-06-18 02:26:05 +02:00
parent 4e5c8b6052
commit 6808c46b58
26 changed files with 356 additions and 351 deletions

View File

@@ -20,7 +20,7 @@
(git-gutter-mode +1)))
(add-hook! (text-mode prog-mode conf-mode) #'+version-control|git-gutter-maybe)
:config
(set-popup-rule! "^\\*git-gutter" nil '((select)))
(set-popup-rule! "^\\*git-gutter" :select nil)
;; Update git-gutter on focus (in case I was using git externally)
(add-hook 'focus-in-hook #'git-gutter:update-all-windows)