branch: externals/breadcrumb
commit dcb6e2e82de2432d8eb75be74c8d6215fc97a2d3
Author: Joseph Turner <[email protected]>
Commit: GitHub <[email protected]>

    Close #24: Fix autoloaded 'register-definition-prefixes'
    
    * breadcrumb.el: Add correct register-definition-prefixes autoload so
    that "breadcrumb-" is registered as a prefix.  Locally set
    autoload-compute-prefixes to nil so that "bc-" is not registered.
    
    Co-authored-by: Jonas Bernoulli <[email protected]>
    Copyright-paperwork-except: yes
---
 breadcrumb.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/breadcrumb.el b/breadcrumb.el
index cb051b8ea1..2bca424336 100644
--- a/breadcrumb.el
+++ b/breadcrumb.el
@@ -436,8 +436,11 @@ propertized crumbs."
       (bc--goto (selected-window) choice))))
 
 (provide 'breadcrumb)
-;;; breadcrumb.el ends here
+;;;###autoload (register-definition-prefixes "breadcrumb" '("breadcrumb-"))
 
 ;; Local Variables:
 ;; read-symbol-shorthands: (("bc-" . "breadcrumb-"))
+;; autoload-compute-prefixes: nil
 ;; End:
+
+;;; breadcrumb.el ends here

Reply via email to