mirror of
https://github.com/org-roam/org-roam
synced 2025-09-18 16:06:49 -05:00
(fix)autoloads: Point autoloads to org-roam.el file (#1673)
At the current state autoloads from non `org-roam.el` unable to start loading of the package from their own file. See the following to learn more about the problem: https://github.com/org-roam/org-roam/issues/1590#issuecomment-885817825 This is no more than a workaround to bandage a more deeper underlying problem. Until the more fundamental problem won't be fixed, all autoload cookies from non "org-roam.el" file will need to manually point to the main entry point of the package -- "org-roam.el" file, to load it without causing errors. Fixes #1590, #1620, #1600 and other similar issues.
This commit is contained in:
@@ -259,7 +259,7 @@ If the buffer is associated with an in-process capture operation, abort the oper
|
||||
(kill-buffer (current-buffer))))
|
||||
|
||||
;;; Diagnostics
|
||||
;;;###autoload
|
||||
;;;###autoload (autoload 'org-roam-version "org-roam" nil t)
|
||||
(defun org-roam-version (&optional message)
|
||||
"Return `org-roam' version.
|
||||
Interactively, or when MESSAGE is non-nil, show in the echo area."
|
||||
@@ -276,7 +276,7 @@ Interactively, or when MESSAGE is non-nil, show in the echo area."
|
||||
(message "%s" version)
|
||||
version)))
|
||||
|
||||
;;;###autoload
|
||||
;;;###autoload (autoload 'org-roam-diagnostics "org-roam" nil t)
|
||||
(defun org-roam-diagnostics ()
|
||||
"Collect and print info for `org-roam' issues."
|
||||
(interactive)
|
||||
|
Reference in New Issue
Block a user