General minor refactor & comment revision
This commit is contained in:
parent
b17cafc4f7
commit
b28f6ed477
4 changed files with 9 additions and 22 deletions
|
@ -72,7 +72,8 @@ renamed.")
|
|||
(when (and (equal (safe-persp-name (get-current-persp)) persp-nil-name)
|
||||
(= persp-auto-resume-time -1))
|
||||
(persp-frame-switch +workspaces-main (or frame (selected-frame))))
|
||||
;; Make sure warnings are visible (fix #319)
|
||||
;; The warnings buffer gets swallowed by creating `+workspaces-main', so
|
||||
;; we display it manually, if it exists (fix #319).
|
||||
(when-let* ((warnings (get-buffer "*Warnings*")))
|
||||
(display-buffer-in-side-window
|
||||
warnings '((window-height . shrink-window-if-larger-than-buffer))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue