mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix: more vestigial references to persp-mode
This commit is contained in:
parent
c626454ce6
commit
bce3aff59a
5 changed files with 2 additions and 14 deletions
|
|
@ -101,7 +101,7 @@ argument) is non-nil only show channels in current server."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +irc--add-circe-buffer-to-workspace-h ()
|
(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))
|
(+workspaces-exists-p +irc--workspace-name))
|
||||||
(let ((buf (current-buffer)))
|
(let ((buf (current-buffer)))
|
||||||
;; Add a new circe buffer to irc workspace when we're in another workspace
|
;; Add a new circe buffer to irc workspace when we're in another workspace
|
||||||
|
|
|
||||||
|
|
@ -332,7 +332,7 @@ orderless."
|
||||||
'(doom/find-file-in-private-config . file)
|
'(doom/find-file-in-private-config . file)
|
||||||
'(doom/describe-active-minor-mode . minor-mode)
|
'(doom/describe-active-minor-mode . minor-mode)
|
||||||
'(flycheck-error-list-set-filter . builtin)
|
'(flycheck-error-list-set-filter . builtin)
|
||||||
'(persp-switch-to-buffer . buffer)
|
'(tabspaces-switch-to-buffer . buffer)
|
||||||
'(projectile-find-file . project-file)
|
'(projectile-find-file . project-file)
|
||||||
'(projectile-recentf . project-file)
|
'(projectile-recentf . project-file)
|
||||||
'(projectile-switch-to-buffer . buffer)
|
'(projectile-switch-to-buffer . buffer)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
doom-localleader-alt-key "C-c l")
|
doom-localleader-alt-key "C-c l")
|
||||||
|
|
||||||
;; persp-mode and projectile in different prefixes
|
;; persp-mode and projectile in different prefixes
|
||||||
(setq! persp-keymap-prefix (kbd "C-c w"))
|
|
||||||
(after! projectile
|
(after! projectile
|
||||||
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map))
|
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -295,15 +295,6 @@ Ugh, such an ugly hack."
|
||||||
(apply fn args)))
|
(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
|
(after! pdf-tools
|
||||||
(setq tablist-context-window-display-action
|
(setq tablist-context-window-display-action
|
||||||
'((+popup-display-buffer-stacked-side-window-fn)
|
'((+popup-display-buffer-stacked-side-window-fn)
|
||||||
|
|
|
||||||
|
|
@ -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.
|
before entering the popup, rather than in a new window.
|
||||||
- [[doom-package:wgrep]] buffers are advised to close themselves when aborting or committing
|
- [[doom-package:wgrep]] buffers are advised to close themselves when aborting or committing
|
||||||
changes.
|
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)
|
- Interactive calls to ~windmove-*~ commands (used by ~evil-window-*~ commands)
|
||||||
will ignore the ~no-other-window~ window parameter, allowing you to switch to
|
will ignore the ~no-other-window~ window parameter, allowing you to switch to
|
||||||
popup windows as if they're ordinary windows.
|
popup windows as if they're ordinary windows.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue