Fixes typos
This commit is contained in:
parent
6e8d89ef61
commit
bef8d26688
14
doc/FAQ.org
14
doc/FAQ.org
|
@ -87,15 +87,15 @@ in =user-init=, and any variable that Spacemacs explicitly sets but you wish to
|
||||||
Anything that isn't just setting a variable should 99% be in =user-config=.
|
Anything that isn't just setting a variable should 99% be in =user-config=.
|
||||||
|
|
||||||
** Why do some of my =org=-related settings cause problems?
|
** Why do some of my =org=-related settings cause problems?
|
||||||
Since version 0.104, spacemacs uses the `org` version from the org ELPA
|
Since version 0.104, spacemacs uses the =org= version from the org ELPA
|
||||||
repository instead of the one shipped with emacs. Then, any `org` related code
|
repository instead of the one shipped with emacs. Then, any =org= related code
|
||||||
should not be loaded before `dotspacemacs/user-config`, otherwise both versions
|
should not be loaded before =dotspacemacs/user-config=, otherwise both versions
|
||||||
will be loaded and will conflict.
|
will be loaded and will conflict.
|
||||||
|
|
||||||
Because of autoloading, calling to `org` function will trigger the loading up
|
Because of autoloading, calling to =org= functions will trigger the loading up
|
||||||
of the `org` shipped with emacs wich will induce conflicts.
|
of the =org= shipped with emacs wich will induce conflicts.
|
||||||
One way to do your `org` config is to wrap you config code in a
|
One way to avoid conflict is to wrap your =org= config code in a
|
||||||
`with-eval-after-load` block.
|
=with-eval-after-load= block like this:
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(with-eval-after-load 'org
|
(with-eval-after-load 'org
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Table of Contents :TOC_4_org:noexport:
|
* Table of Contents :TOC_4_org:noexport:
|
||||||
- [[Description][Description]]
|
- [[Description][Description]]
|
||||||
- [[Features:][Features:]]
|
- [[Features:][Features:]]
|
||||||
- [[Note][Note]]
|
- [[Important Note][Important Note]]
|
||||||
- [[Install][Install]]
|
- [[Install][Install]]
|
||||||
- [[Layer][Layer]]
|
- [[Layer][Layer]]
|
||||||
- [[Github support][Github support]]
|
- [[Github support][Github support]]
|
||||||
|
@ -37,22 +37,22 @@ This layer enables [[http://orgmode.org/][org mode]] for Spacemacs.
|
||||||
- TODO capture via [[https://github.com/waymondo/org-repo-todo][org-repo-todo]]
|
- TODO capture via [[https://github.com/waymondo/org-repo-todo][org-repo-todo]]
|
||||||
- presentation mode via [[https://github.com/rlister/org-present][org-present]]
|
- presentation mode via [[https://github.com/rlister/org-present][org-present]]
|
||||||
-
|
-
|
||||||
** Note
|
** Important Note
|
||||||
Since version 0.104, spacemacs uses the =org= version from the org ELPA
|
Since version 0.104, spacemacs uses the =org= version from the org ELPA
|
||||||
repository instead of the one shipped with emacs. Then, any =org= related code
|
repository instead of the one shipped with emacs. Then, any =org= related code
|
||||||
should not be loaded before =dotspacemacs/user-config=, otherwise both versions
|
should not be loaded before =dotspacemacs/user-config=, otherwise both versions
|
||||||
will be loaded and will conflict.
|
will be loaded and will conflict.
|
||||||
Org layer checks if this has occurred and signals an error if org features have
|
|
||||||
been instantiated prior to org layer loading.
|
|
||||||
|
|
||||||
One way to do your =org= config is to wrap you config code in a
|
Because of autoloading, calling to =org= functions will trigger the loading up
|
||||||
=with-eval-after-load= block.
|
of the =org= shipped with emacs wich will induce conflicts.
|
||||||
|
One way to avoid conflict is to wrap your =org= config code in a
|
||||||
|
=with-eval-after-load= block like this:
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(with-eval-after-load 'org
|
(with-eval-after-load 'org
|
||||||
;; here goes your Org config :)
|
;; here goes your Org config :)
|
||||||
;; ....
|
;; ....
|
||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Install
|
* Install
|
||||||
|
|
Loading…
Reference in New Issue