Skip to content

Commit

Permalink
Fix feature regexp used to detect Org library names
Browse files Browse the repository at this point in the history
* lisp/org.el (org-reload):
* mk/org-fixup.el (org-make-org-loaddefs): Distinguish ol-*.el and
oc-*.el libraries as parts of Org-related libraries.
  • Loading branch information
yantar92 committed Jul 28, 2022
1 parent 5be0c70 commit bc875e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lisp/org.el
Original file line number Diff line number Diff line change
Expand Up @@ -18006,7 +18006,7 @@ With prefix arg UNCOMPILED, load the uncompiled versions."
(require 'loadhist)
(let* ((org-dir (org-find-library-dir "org"))
(contrib-dir (or (org-find-library-dir "org-contribdir") org-dir))
(feature-re "^\\(org\\|ob\\|ox\\)\\(-.*\\)?")
(feature-re "^\\(org\\|ob\\|ox\\|ol\\|oc\\)\\(-.*\\)?")
(remove-re (format "\\`%s\\'"
(regexp-opt '("org" "org-loaddefs" "org-version"))))
(feats (delete-dups
Expand Down
2 changes: 1 addition & 1 deletion mk/org-fixup.el
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ work correctly if this file is not up-to-date."
(set-visited-file-name "org-loaddefs.el")
(insert ";;; org-loaddefs.el --- autogenerated file, do not edit\n;;\n;;; Code:\n")
(let ((files (directory-files default-directory
nil "^\\(org\\|ob\\|ox\\|ol\\)\\(-.*\\)?\\.el$")))
nil "^\\(org\\|ob\\|ox\\|ol\\|oc\\)\\(-.*\\)?\\.el$")))
(mapc (lambda (f) (generate-file-autoloads f)) files))
(insert "\f\n(provide 'org-loaddefs)\n")
(insert "\f\n;; Local Variables:\n;; version-control: never\n")
Expand Down

0 comments on commit bc875e5

Please sign in to comment.