unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: 56981@debbugs.gnu.org
Cc: Manuel Uberti <manuel.uberti@inventati.org>
Subject: bug#56981: 29.0.50; No org-loaddefs.el file could be found from where org.el is loaded
Date: Thu, 04 Aug 2022 18:42:25 +0200	[thread overview]
Message-ID: <874jysez9q.fsf@gnus.org> (raw)
In-Reply-To: <3839aac3-dee8-9ded-0183-399b1d29e3b5@inventati.org> (Manuel Uberti via's message of "Thu, 4 Aug 2022 18:16:53 +0200")

Manuel Uberti via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

> WARNING: No org-loaddefs.el file could be found from where org.el is loaded.
> You need to run "make" or "make autoloads" from Org lisp directory

Does the following patch fix the issue?

diff --git a/lisp/org/org.el b/lisp/org/org.el
index e62ee3203b..657f7dd80a 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -82,7 +82,7 @@ org-inlinetask-min-level
 (or (eq this-command 'eval-buffer)
     (condition-case nil
 	(load (concat (file-name-directory load-file-name)
-		      "org-loaddefs.el")
+		      "org-loaddefs")
 	      nil t t t)
       (error
        (message "WARNING: No org-loaddefs.el file could be found from where org.el is loaded.")






  reply	other threads:[~2022-08-04 16:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-04 16:16 bug#56981: 29.0.50; No org-loaddefs.el file could be found from where org.el is loaded Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 16:42 ` Lars Ingebrigtsen [this message]
2022-08-04 17:55   ` Peder O. Klingenberg
2022-08-05  5:38   ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05  6:45     ` Eli Zaretskii
2022-08-05  7:20       ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 16:47 ` Eli Zaretskii
2022-08-04 19:03 ` Pankaj Jangid
2022-08-04 19:11   ` Lars Ingebrigtsen
2022-08-05  6:35     ` Pankaj Jangid
2022-08-05 12:10       ` bug#56981: bug#56982: 29.0.50; Loading org.el fails to load org-loaddefs from installed location Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jysez9q.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56981@debbugs.gnu.org \
    --cc=manuel.uberti@inventati.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).