summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAugusto Stoffel <arstoffel@gmail.com>2025-10-12 21:39:24 +0200
committerAugusto Stoffel <arstoffel@gmail.com>2025-10-12 21:39:24 +0200
commit330b46505363e7e735e10b4ecbb8c722c0bc7c46 (patch)
treece2072855eb2384664d20f90f3fdc2b2971f54f5
parenta0a40cc7b0a4ed37bd146cd03737fb426863787c (diff)
Make bookmark handler an autoloaded function
It might be called before loading devdocs.el if the user tries to jump to a bookmark.
-rw-r--r--devdocs.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/devdocs.el b/devdocs.el
index 34e932c..d00f729 100644
--- a/devdocs.el
+++ b/devdocs.el
@@ -495,6 +495,7 @@ Interactively, read a page name with completion."
:active (car devdocs--forward-stack)
:help "Return from a previously displayed documentation entry"]))
+;;;###autoload
(defun devdocs--bookmark-handler (bm)
"Display DevDocs location of bookmark BM."
(declare-function bookmark-prop-get "bookmark")