Show circe chats in frames without a minibuffer
This only actually works when a circe chat is opened with something like `switch-buffer-other-frame'. Just switching buffers normally doesn't work. Which is actually pretty much how I want it to be.
This commit is contained in:
parent
7bbed85972
commit
a75647fd4f
1 changed files with 12 additions and 2 deletions
|
@ -236,6 +236,13 @@ But only if it is a maildir inbox."
|
|||
"Function for `diary-display-hook'."
|
||||
(diary-fancy-display))
|
||||
|
||||
(defun oni:display-in-minibufferless-frame (buffer _)
|
||||
(let ((default-frame-alist default-frame-alist))
|
||||
(push '(minibuffer . nil) default-frame-alist)
|
||||
(let ((frame (make-frame)))
|
||||
(select-frame frame)
|
||||
(switch-to-buffer buffer))))
|
||||
|
||||
(defun oni:downcase-prev (num)
|
||||
(interactive "p")
|
||||
(oni:change-prev-case num 'down))
|
||||
|
@ -1048,7 +1055,7 @@ from myaethon2.core.decorators import (
|
|||
(setq lui-time-stamp-format "%H:%M")
|
||||
(setq lui-fill-type 'variable)
|
||||
(add-hook 'lui-mode-hook (lambda () (setq right-margin-width 5)))
|
||||
(add-hook 'circe-channel-mode-hook (lambda () (setq mode-line-format ""))))
|
||||
(add-hook 'circe-channel-mode-hook (lambda () (setq mode-line-format nil))))
|
||||
|
||||
(stante-after compile
|
||||
(setq compilation-scroll-output t))
|
||||
|
@ -1326,7 +1333,10 @@ from myaethon2.core.decorators import (
|
|||
'("^\\*Help\\*$" display-buffer-in-side-window))
|
||||
(add-to-list
|
||||
'display-buffer-alist
|
||||
`(,(rx bol "*helm") display-buffer-in-side-window (side . right))))
|
||||
`(,(rx bol "*helm") display-buffer-in-side-window (side . right))
|
||||
|
||||
(add-to-list 'display-buffer-alist
|
||||
'("^\#mowedline$" oni:display-in-minibufferless-frame))))
|
||||
|
||||
(stante-after woman
|
||||
(setq woman-fill-column 72))
|
||||
|
|
Loading…
Reference in a new issue