Ensure to never load `org-ctags' because it confuses `org-return'

This commit is contained in:
Gerard Vermeulen 2024-01-24 15:29:25 +01:00
parent 9a4c168cb3
commit 4b2abef0c6
1 changed files with 6 additions and 0 deletions

View File

@ -181,6 +181,9 @@ Try to load [[https://github.com/emacscollective/no-littering][no-littering]] as
(require 'no-littering nil 'noerror)
;; Else: Add `(tags-file-name nil)' to outermost `let*' in `org-return'.
(setq org-modules nil)
(provide 'early-init)
;; Emacs looks for "Local variables:" after the last "?\n?\f".
@ -2335,6 +2338,9 @@ list detailing and motivating each listing:
("\\.mm\\'" . default)
("\\.x?html?\\'" . default)
("\\.pdf\\'" . emacs))
;; Up to here `org-modules' is nil thanks to my `early-init.el'.
;; If not `org-ctags' gets loaded, which does not work on my system
;; and confuses `org-return'.
org-modules '(ol-bibtex
ol-doi
ol-eww