(add-hook 'org-roam-find-file-hook
	  #'(lambda () (setq-local org-insert-heading-hook
				   (delete 'org-id-get-create
					   org-insert-heading-hook))))

What is better way?

  • @iungOP
    link
    1
    edit-2
    2 years ago

    Value of local var can be evaled just once, when adding to hook, but that’s minor

  • @iungOP
    link
    12 years ago

    This doesn’t work for roam-dailies.