Skip to content

nil 'buffer-list causes *scratch* buffer (re-)created when loading #63

@jeff-phil

Description

@jeff-phil

I am newly switching over from another workspace manager and getting set up.

System is emacs 29.1 on macos (emacs-mac).

I am using this config: https://github.com/florommel/bufferlo?tab=readme-ov-file#complete-configuration-sample

When I start up emacs with (bufferlo-mode) on in above configuration, i always get an unwanted scratch buffer. Historically, i have killed this on start (kill-buffer "*scratch*"), but no longer working.

I've tried all kinds of things to get it not to show or go away (e.g. setting tab-bar-new-tab-choice to various things), including put this in my bufferlo :config startup:

    (add-hook 'bufferlo-mode-hook
            (lambda ()
              (run-with-timer
               2
               nil
               (lambda ()
                 (ignore-errors
                   (kill-buffer "*scratch*"))))))
  (add-hook 'emacs-startup-hook
            (lambda ()
              (run-with-timer
               2
               nil
               (lambda ()
                 (ignore-errors
                   (kill-buffer "*scratch*"))))))

But the proverbial cat 😼 keeps coming back.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions