From: Peder O. Klingenberg Date: Thu, 4 Aug 2022 18:27:56 +0000 (+0200) Subject: * lisp/org/org.el: Fix load of compiled or compressed org-loaddefs X-Git-Tag: emacs-29.0.90~1447^2~432 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b335e1a0469105bb55b9741ae3106dc0a6023ce2;p=emacs.git * lisp/org/org.el: Fix load of compiled or compressed org-loaddefs * lisp/org/org.el (eq): Fix load of compiled or compressed org-loaddefs (bug#56982). --- diff --git a/lisp/org/org.el b/lisp/org/org.el index e62ee3203b4..8bb69e98ce8 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el @@ -82,8 +82,8 @@ (or (eq this-command 'eval-buffer) (condition-case nil (load (concat (file-name-directory load-file-name) - "org-loaddefs.el") - nil t t t) + "org-loaddefs") + nil t nil t) (error (message "WARNING: No org-loaddefs.el file could be found from where org.el is loaded.") (sit-for 3)