branch: elpa/workroom commit e4ce5ca4ba1cec97a7c354246389ae37b10132dc Author: Akib Azmain Turja <a...@disroot.org> Commit: Akib Azmain Turja <a...@disroot.org>
Assume 'get-scratch-buffer-create' is always available --- workroom.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/workroom.el b/workroom.el index 30c4030d1f..aa65058a87 100644 --- a/workroom.el +++ b/workroom.el @@ -1261,8 +1261,7 @@ ACTION and ARGS are also described there." ('(:initialize) (setf (workroom-buffer-manager-data room) (list - (if (and (equal workroom-default-buffer-name "*scratch*") - (fboundp 'get-scratch-buffer-create)) + (if (equal workroom-default-buffer-name "*scratch*") (get-scratch-buffer-create) (get-buffer-create workroom-default-buffer-name))))) ('(:list-buffers)