fix(julia): duplicate popup rules

Having the same rule in two separate package configs means users must be
aware of both to modify either, which is avoidable complexity. i.e.

  (after! (:or julia-repl julia-snail)
    (set-popup-rule! "^\\*julia" ...))
This commit is contained in:
Henrik Lissner 2024-04-05 11:51:21 -04:00 committed by Yann Esposito (Yogsototh)
parent d602a51091
commit e60b07e4e3
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -53,7 +53,8 @@
:hook (+julia-repl-start . +julia-override-repl-escape-char-h)
:hook (+julia-repl-start . julia-repl-use-emacsclient)
:config
(set-popup-rule! "^\\*julia.*\\*$" :ttl nil)
(unless (modulep! +snail)
(set-popup-rule! "^\\*julia.*\\*$" :ttl nil))
(when (modulep! :ui workspaces)
(defadvice! +julia--namespace-repl-buffer-to-workspace-a (&optional executable-key suffix)