mirror of
https://github.com/org-roam/org-roam
synced 2025-09-20 16:10:56 -05:00
doc: Improve option list export
This commit is contained in:
@@ -1028,14 +1028,14 @@ If you're using the [[https://formulae.brew.sh/formula/emacs][Emacs Homebrew for
|
|||||||
|
|
||||||
a) Add option `-c` to `emacsclient` in the script, and start emacs from command line with `emacs --daemon`
|
a) Add option `-c` to `emacsclient` in the script, and start emacs from command line with `emacs --daemon`
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
on open location this_URL
|
on open location this_URL
|
||||||
set EC to "/usr/local/bin/emacsclient -c --no-wait "
|
set EC to "/usr/local/bin/emacsclient -c --no-wait "
|
||||||
set filePath to quoted form of this_URL
|
set filePath to quoted form of this_URL
|
||||||
do shell script EC & filePath & " &> /dev/null &"
|
do shell script EC & filePath & " &> /dev/null &"
|
||||||
tell application "Emacs" to activate
|
tell application "Emacs" to activate
|
||||||
end open location
|
end open location
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
b) Add `(server-start)` in .emacs (in this case you do not need option `-c` for `emacsclient` in the script, and you do not need to start emacs with `emacs --daemon`
|
b) Add `(server-start)` in .emacs (in this case you do not need option `-c` for `emacsclient` in the script, and you do not need to start emacs with `emacs --daemon`
|
||||||
|
|
||||||
@@ -1800,4 +1800,5 @@ an Org file code block (like =#+BEGIN_SRC emacs-lisp=).
|
|||||||
# after-save-hook: org-texinfo-export-to-info
|
# after-save-hook: org-texinfo-export-to-info
|
||||||
# indent-tabs-mode: nil
|
# indent-tabs-mode: nil
|
||||||
# org-src-preserve-indentation: nil
|
# org-src-preserve-indentation: nil
|
||||||
|
# org-list-allow-alphabetical: t
|
||||||
# End:
|
# End:
|
||||||
|
@@ -1427,7 +1427,6 @@ If you're using the @uref{https://formulae.brew.sh/formula/emacs, Emacs Homebrew
|
|||||||
@enumerate
|
@enumerate
|
||||||
@item
|
@item
|
||||||
Add option `-c` to `emacsclient` in the script, and start emacs from command line with `emacs --daemon`
|
Add option `-c` to `emacsclient` in the script, and start emacs from command line with `emacs --daemon`
|
||||||
@end enumerate
|
|
||||||
|
|
||||||
@lisp
|
@lisp
|
||||||
on open location this_URL
|
on open location this_URL
|
||||||
@@ -1438,7 +1437,6 @@ on open location this_URL
|
|||||||
end open location
|
end open location
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
@enumerate
|
|
||||||
@item
|
@item
|
||||||
Add `(server-start)` in .emacs (in this case you do not need option `-c` for `emacsclient` in the script, and you do not need to start emacs with `emacs --daemon`
|
Add `(server-start)` in .emacs (in this case you do not need option `-c` for `emacsclient` in the script, and you do not need to start emacs with `emacs --daemon`
|
||||||
@end enumerate
|
@end enumerate
|
||||||
|
Reference in New Issue
Block a user