From fc5ceb0b21dfad0938d8be4d5dfec1b8cf39aea3 Mon Sep 17 00:00:00 2001
From: jethrokuan installer automatically takes care of it for you.
This will automatically start compiling
-
@@ -777,12 +777,12 @@ for notes. This variable needs to be set before any calls to Org-roam functions.
inside M-x org-roam-setup
+M-x org-roam-db-autosync-mode
emacsql-sqlite
; you should see a
org-roam-directory
: Org-roam does not resolve symbolic links.
Next, we setup Org-roam to run functions on file changes to maintain cache
-consistency. This is achieved by running M-x org-roam-setup
. To ensure that
-Org-roam is available on startup, place this in your Emacs configuration:
+consistency. This is achieved by running M-x org-roam-db-autosync-mode~
.
+To ensure that Org-roam is available on startup, place this in your Emacs
+configuration:
(require 'org-roam) -(org-roam-setup) +(org-roam-db-autosync-mode)
To build the cache manually, run M-x org-roam-db-sync
. Cache builds may
diff --git a/org-roam.org b/org-roam.org
index 6e7cae5..b6a9b9a 100644
--- a/org-roam.org
+++ b/org-roam.org
@@ -308,7 +308,7 @@ is to use [[https://www.msys2.org/][MSYS2]] as at the time of this writing:
Note that you do not need to manually set the PATH for MSYS2; the
installer automatically takes care of it for you.
-4. Open Emacs and call ~M-x org-roam-setup~
+4. Open Emacs and call ~M-x org-roam-db-autosync-mode~
This will automatically start compiling ~emacsql-sqlite~; you should see a
message in minibuffer. It may take a while until compilation completes. Once
@@ -376,12 +376,12 @@ The ~file-truename~ function is only necessary when you use symbolic links
inside ~org-roam-directory~: Org-roam does not resolve symbolic links.
Next, we setup Org-roam to run functions on file changes to maintain cache
-consistency. This is achieved by running ~M-x org-roam-setup~. To ensure that
-Org-roam is available on startup, place this in your Emacs configuration:
+consistency. This is achieved by running ~M-x org-roam-db-autosync-mode~. To
+ensure that Org-roam is available on startup, place this in your Emacs
+configuration:
#+begin_src emacs-lisp
- (require 'org-roam)
- (org-roam-setup)
+(org-roam-db-autosync-mode)
#+end_src
To build the cache manually, run ~M-x org-roam-db-sync~. Cache builds may
diff --git a/org-roam.texi b/org-roam.texi
index 4a2cd5f..943c1a9 100644
--- a/org-roam.texi
+++ b/org-roam.texi
@@ -550,7 +550,7 @@ installer automatically takes care of it for you.
@itemize
@item
-Open Emacs and call @code{M-x org-roam-setup}
+Open Emacs and call @code{M-x org-roam-db-autosync-mode}
This will automatically start compiling @code{emacsql-sqlite}; you should see a
@end itemize
@@ -637,12 +637,12 @@ The @code{file-truename} function is only necessary when you use symbolic links
inside @code{org-roam-directory}: Org-roam does not resolve symbolic links.
Next, we setup Org-roam to run functions on file changes to maintain cache
-consistency. This is achieved by running @code{M-x org-roam-setup}. To ensure that
-Org-roam is available on startup, place this in your Emacs configuration:
+consistency. This is achieved by running @code{M-x org-roam-db-autosync-mode~}.
+To ensure that Org-roam is available on startup, place this in your Emacs
+configuration:
@lisp
-(require 'org-roam)
-(org-roam-setup)
+(org-roam-db-autosync-mode)
@end lisp
To build the cache manually, run @code{M-x org-roam-db-sync}. Cache builds may