]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/org/org.el: Fix load of compiled or compressed org-loaddefs
authorPeder O. Klingenberg <peder@klingenberg.no>
Thu, 4 Aug 2022 18:27:56 +0000 (20:27 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Aug 2022 18:27:56 +0000 (20:27 +0200)
* lisp/org/org.el (eq): Fix load of compiled or compressed
org-loaddefs (bug#56982).

lisp/org/org.el

index e62ee3203b458965aaa10017023d8bc3d437f312..8bb69e98ce8872bdd0b9ae48d09acdcd0382dc32 100644 (file)
@@ -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)