tweak(docs): disable save-place when in documentation

Jumping to a saved position is more jarring than useful in
documentation. Especially for beginners.
This commit is contained in:
Henrik Lissner 2022-02-01 23:46:18 +01:00
parent 4661ea89f2
commit 6bba5f8c03
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -306,7 +306,8 @@ Keeps track of its own IDs in `doom-docs-dir' and toggles `doom-docs-mode' when
org-link-abbrev-alist-local (append org-link-abbrev-alist-local doom-docs-link-alist)
org-babel-default-header-args
(append '((:eval . "no") (:tangle . "no"))
org-babel-default-header-args))
org-babel-default-header-args)
save-place-ignore-files-regexp ".")
(unless org-inhibit-startup
(doom/reload-docs)
(unless (local-variable-p 'org-startup-with-inline-images)