Relax workgroups2 dependency

This commit is contained in:
Henrik Lissner 2016-10-07 20:53:56 +02:00
parent 6b099f07ce
commit ac858ef491

View file

@ -129,9 +129,10 @@ buffer. Without this, it would refuse to split, saying 'too small to split'."
(defun doom--scratch-info ()
(let ((all-the-icons-scale-factor 1.3)
(all-the-icons-default-adjust -0.05)
(last-session-p (f-exists-p wg-session-file))
(start (point))
(sep " ")
(last-session-p (and (featurep 'workgroups2)
(f-exists-p wg-session-file)))
end)
(unless last-session-p
(setq sep " "))