ui/workspaces: use add-hook! for inline hook
This commit is contained in:
parent
2a3f95f615
commit
58fb9faf3a
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ stored in `persp-save-dir'.")
|
|||
(push (cons buf-name base-buf-name)
|
||||
+workspaces--indirect-buffers-to-restore)
|
||||
nil)))
|
||||
(add-hook 'persp-after-load-state-functions
|
||||
(add-hook! 'persp-after-load-state-functions
|
||||
(defun +workspaces-reload-indirect-buffers-h (&rest _)
|
||||
(dolist (ibc +workspaces--indirect-buffers-to-restore)
|
||||
(cl-destructuring-bind (buffer-name . base-buffer-name) ibc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue