emacs/ediff: fix hooks not being appended
This commit is contained in:
parent
a0250e60e3
commit
628b40f882
1 changed files with 2 additions and 1 deletions
|
@ -12,5 +12,6 @@
|
|||
(setq +ediff--saved-wconf (current-window-configuration)))
|
||||
(defun +ediff|restore-wconf ()
|
||||
(set-window-configuration +ediff--saved-wconf))
|
||||
|
||||
(add-hook 'ediff-before-setup-hook #'+ediff|save-wconf)
|
||||
(add-hook! '(ediff-quit-hook ediff-suspend-hook) #'+ediff|restore-wconf 'append)
|
||||
(add-hook! :append '(ediff-quit-hook ediff-suspend-hook) #'+ediff|restore-wconf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue