Skip to content

Commit

Permalink
tweak(core): accept functions with args in `+define-dedicated-workspa…
Browse files Browse the repository at this point in the history
…ce!`
  • Loading branch information
abougouffa committed Jun 14, 2023
1 parent e97faa3 commit 7ca7b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elisp/+emacs.el
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ be deleted.
(when (or exit-func exit-hook)
(setq
fn-body
`((defun ,exit-fn-name ()
`((defun ,exit-fn-name (&rest _)
(if (fboundp 'tabspaces-mode)
;; When `tabspaces' is available, use it.
(when-let ((tab-num (seq-position (tabspaces--list-tabspaces) ,tab-name #'string=)))
Expand Down

0 comments on commit 7ca7b66

Please sign in to comment.