Bring popper back cause side-window doesn't work

This commit is contained in:
Joseph Ferano 2023-04-21 16:06:44 +07:00
parent 4252faee42
commit 1e4d5c28ab

View File

@ -928,7 +928,8 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
#+end_src
#+begin_src emacs-lisp
#+begin_src emacs-lisp :tangle no
;; TODO Prot help improving workflow. There's a bug where sometimes this doesn't work anymore
;; Is there a way to detect if the current window is a side window?
(global-set-key (kbd "C-`") #'window-toggle-side-windows)
@ -987,7 +988,7 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
(beframe-mode +1)
#+end_src
*** COMMENT Popper
*** Popper
#+begin_src emacs-lisp
(require 'popper)
@ -1004,7 +1005,7 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
"^\\*cargo-test\\*" cargo-test-mode
"^\\*cargo-run\\*" cargo-run-mode
"^\\*rustic-compilation\\*" rustic-compilation-mode
;; "^\\*ansi-term\\*$" term-mode
"^\\*ansi-term\\*$" term-mode
("^\\*Warnings\\*$" . hide)
help-mode
helpful-mode))
@ -1034,7 +1035,6 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
((and (eq joe/popper-side-toggle 'right)
(window-in-direction 'left))
(message "Here")
(window--display-buffer
buffer (get-buffer-window (current-buffer)) 'reuse))