mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-21 06:55:35 +00:00
Fix feature regexp used to detect Org library names
* 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.
This commit is contained in:
parent
5be0c709b3
commit
bc875e5ccf
@ -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
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user