Because of this answer I set fill-prefix
to ""
. When I do this explicitly via M-:
it works as expected.
I need a solution for use-package
here.
When I try to make this setting specific to org-roam buffers the behaviour is not as expected and C-h d RET fill-prefix
still tells me that it is nil
.
I set it in the :config
section like this.
(use-package org-roam
:init
(setq org-roam-v2-ack t) ; do not show migration warning after startup
:custom
(org-roam-directory "~/tab-cloud/my.org-roam")
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
("C-c n i" . org-roam-node-insert)
:map org-mode-map
("C-M-i" . completion-at-point)
)
:config
(org-roam-db-autosync-mode)
(setq fill-prefix "") ;; see https://emacs.stackexchange.com/a/38943/12999
)
org-roam
buffers only?Customize
interface: doC-h v fill-prefix
and click on thecustomize
link. But that's also a global change, so it won't work for what you want to do.use-package
, but you should be able to do it the old fashioned way by adding the setter to the major mode hook:(add-hook 'org-roam-mode-hook (lambda () (setq fill-prefix "")))
.