# Make the roam-buffer never auto-popup

**URL:** <https://org-roam.discourse.group/t/make-the-roam-buffer-never-auto-popup/2431>\
**Category:** Troubleshooting\
**Created:** [February 4, 2022, 5:49pm UTC](https://org-roam.discourse.group/t/make-the-roam-buffer-never-auto-popup/2431 "2022-02-04T17:49:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![throughnothing](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/throughnothing/32/1095_2.png) [@throughnothing](https://org-roam.discourse.group/u/throughnothing)\
**Post date:** [February 4, 2022, 5:49pm UTC](https://org-roam.discourse.group/t/make-the-roam-buffer-never-auto-popup/2431/1 "2022-02-04T17:49:57Z")

</div>

I’m using org-roam with basic configuration from Doom, and I just watn the roam buffer to never auto-show when I open certain files. I want to only toggle it manually, but I can’t figure out how or why it auto-opens so often. Is there a setting to disable this?

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [February 4, 2022, 5:58pm UTC](https://org-roam.discourse.group/t/make-the-roam-buffer-never-auto-popup/2431/2 "2022-02-04T17:58:08Z")

</div>

It’s a doom specific hack.

Turn this variable off:

```auto
(defvar +org-roam-open-buffer-on-find-file t
  "If non-nil, open the org-roam buffer when opening an org roam file.")

```

---

<div class="post-metadata">

**Author:** ![throughnothing](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/throughnothing/32/1095_2.png) [@throughnothing](https://org-roam.discourse.group/u/throughnothing)\
**Post date:** [February 4, 2022, 5:59pm UTC](https://org-roam.discourse.group/t/make-the-roam-buffer-never-auto-popup/2431/3 "2022-02-04T17:59:15Z")

</div>

> [@nobiot](#):
>
> ```auto
> (defvar +org-roam-open-buffer-on-find-file t
> "If non-nil, open the org-roam buffer when opening an org roam file.")
> 
> ```

Thank you!
