mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-06 15:13:33 -05:00
revert: persp-mode
Bad-ptr/persp-mode.el@82680795b3 -> Bad-ptr/persp-mode.el@40e9993a97 persp-mode introduced some breaking API changes in a recent refactoring, which have caused issues that are difficult to opt out of, even by repinning it to an older commit. Until persp-mode sorts things out, I simply revert it back to a point before all the changes. Revert:c64ca09ed2
Revert:751ac6134b
Revert:6d5e004b87
Amend:a1121acc94
Fix: #8455 Close: #8474 Ref: #8470
This commit is contained in:
@@ -212,9 +212,7 @@ stored in `persp-save-dir'.")
|
||||
(advice-add #'persp-asave-on-exit :around #'+workspaces-autosave-real-buffers-a)
|
||||
|
||||
;; Fix #1973: visual selection surviving workspace changes
|
||||
(add-hook! 'persp-before-deactivate-functions
|
||||
(defun +workspaces-disable-mark-after-switch-h (&rest _)
|
||||
(deactivate-mark)))
|
||||
(add-hook 'persp-before-deactivate-functions #'deactivate-mark)
|
||||
|
||||
;; Fix #1017: stop session persistence from restoring a broken posframe
|
||||
(after! posframe
|
||||
|
Reference in New Issue
Block a user