From 4b2abef0c64ecc9a28763ffc8060ab3fb0c29a4e Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Wed, 24 Jan 2024 15:29:25 +0100 Subject: [PATCH] Ensure to never load `org-ctags' because it confuses `org-return' --- README.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.org b/README.org index eaebfa8..5874a2f 100644 --- a/README.org +++ b/README.org @@ -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