fix: more vestigial references to persp-mode

This commit is contained in:
Henrik Lissner 2025-09-23 00:53:37 -04:00
parent c626454ce6
commit bce3aff59a
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
5 changed files with 2 additions and 14 deletions

View file

@ -101,7 +101,7 @@ argument) is non-nil only show channels in current server."
;;;###autoload
(defun +irc--add-circe-buffer-to-workspace-h ()
(when (and (bound-and-true-p persp-mode)
(when (and (modulep! :ui workspaces)
(+workspaces-exists-p +irc--workspace-name))
(let ((buf (current-buffer)))
;; Add a new circe buffer to irc workspace when we're in another workspace

View file

@ -332,7 +332,7 @@ orderless."
'(doom/find-file-in-private-config . file)
'(doom/describe-active-minor-mode . minor-mode)
'(flycheck-error-list-set-filter . builtin)
'(persp-switch-to-buffer . buffer)
'(tabspaces-switch-to-buffer . buffer)
'(projectile-find-file . project-file)
'(projectile-recentf . project-file)
'(projectile-switch-to-buffer . buffer)

View file

@ -5,7 +5,6 @@
doom-localleader-alt-key "C-c l")
;; persp-mode and projectile in different prefixes
(setq! persp-keymap-prefix (kbd "C-c w"))
(after! projectile
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map))

View file

@ -295,15 +295,6 @@ Ugh, such an ugly hack."
(apply fn args)))
;;;###package persp-mode
(defadvice! +popup--persp-mode-restore-popups-a (&rest _)
"Restore popup windows when loading a perspective from file."
:after #'persp-load-state-from-file
(dolist (window (window-list))
(when (+popup-parameter 'popup window)
(+popup--init window nil))))
(after! pdf-tools
(setq tablist-context-window-display-action
'((+popup-display-buffer-stacked-side-window-fn)

View file

@ -35,8 +35,6 @@ clean up after itself and kill off buffers I mark as transient.
before entering the popup, rather than in a new window.
- [[doom-package:wgrep]] buffers are advised to close themselves when aborting or committing
changes.
- [[doom-package:persp-mode]] is advised to restore popup windows when loading a session from
file.
- Interactive calls to ~windmove-*~ commands (used by ~evil-window-*~ commands)
will ignore the ~no-other-window~ window parameter, allowing you to switch to
popup windows as if they're ordinary windows.