mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Relax workgroups2 dependency
This commit is contained in:
@ -129,9 +129,10 @@ buffer. Without this, it would refuse to split, saying 'too small to split'."
|
|||||||
(defun doom--scratch-info ()
|
(defun doom--scratch-info ()
|
||||||
(let ((all-the-icons-scale-factor 1.3)
|
(let ((all-the-icons-scale-factor 1.3)
|
||||||
(all-the-icons-default-adjust -0.05)
|
(all-the-icons-default-adjust -0.05)
|
||||||
(last-session-p (f-exists-p wg-session-file))
|
|
||||||
(start (point))
|
(start (point))
|
||||||
(sep " ")
|
(sep " ")
|
||||||
|
(last-session-p (and (featurep 'workgroups2)
|
||||||
|
(f-exists-p wg-session-file)))
|
||||||
end)
|
end)
|
||||||
(unless last-session-p
|
(unless last-session-p
|
||||||
(setq sep " "))
|
(setq sep " "))
|
||||||
|
Reference in New Issue
Block a user