emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/workroom e4ce5ca4ba: Assume 'get-scratch-buffer-create' is


From: ELPA Syncer
Subject: [nongnu] elpa/workroom e4ce5ca4ba: Assume 'get-scratch-buffer-create' is always available
Date: Mon, 23 Jan 2023 05:01:28 -0500 (EST)

branch: elpa/workroom
commit e4ce5ca4ba1cec97a7c354246389ae37b10132dc
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]