Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2026-05-13 Mats Lidell <matsl@gnu.org>

* hload-path.el: Only generate and load autoloads when interactive.

2026-05-12 Mats Lidell <matsl@gnu.org>

* Makefile (HYPB_NATIVE_COMP): Use MAKE variable in recursive make.
Expand Down
7 changes: 4 additions & 3 deletions hactypes.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@
;;; Public declarations
;;; ************************************************************************

(declare-function kotl-mode:goto-cell "kotl-mode")
(declare-function kcell-view:indent "kcell-view")
(declare-function kotl-mode:beginning-of-buffer "kotl-mode")
(declare-function kotl-mode:goto-cell "kotl-mode")
(declare-function kotl-mode:goto-cell-ref "kotl-mode")
(declare-function kcell-view:indent "kcell-view")

(declare-function org-fold-show-context "org-fold")
(declare-function org-roam-id-find "‎ext:org-roam-id")
(declare-function rmail:msg-to-p "hrmail")
(declare-function smart-eobp "hui-mouse")
(declare-function smart-tags-file-path "hmouse-tag")

;;; ************************************************************************
;;; Standard Hyperbole action types
Expand Down
5 changes: 5 additions & 0 deletions hargs.el
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@

(declare-function smart-dired-pathname-up-to-point "hui-mouse")

(declare-function Info-menu-item-at-p "hmouse-info")
(declare-function Info-note-at-p "hmouse-info")
(declare-function Info-current-filename-sans-extension "hmouse-info")
(declare-function Info-read-index-item-name "hmouse-info")

;;; ************************************************************************
;;; Public variables
;;; ************************************************************************
Expand Down
13 changes: 7 additions & 6 deletions hbut.el
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,29 @@ Use the function, (hbut:max-len), to read the proper value.")

(declare-function hargs:delimited "hargs")
(declare-function hargs:read-match "hargs")
(declare-function hpath:find-noselect "hpath")
(declare-function hpath:display-buffer "hpath")
(declare-function hpath:file-position-to-line-and-column "hpath")
(declare-function hpath:find "hpath")
(declare-function hpath:find-noselect "hpath")
(declare-function hpath:shorten "hpath")
(declare-function hpath:substitute-var "hpath")
(declare-function hpath:symlink-referent "hpath")
(declare-function hpath:www-p "hpath")
(declare-function hpath:shorten "hpath")
(declare-function hsys-org-block-start-at-p "hsys-org")
(declare-function hsys-org-src-block-start-at-p "hsys-org")
(declare-function hui:buf-writable-err "hui")
(declare-function hui:ebut-rename "hui")
(declare-function hui:ibut-rename "hui")
(declare-function hui:key-dir "hui")
(declare-function hui:key-src "hui")
(declare-function hyrolo-hdr-move-after-p "hyrolo")
(declare-function hywiki-find-referent "hywiki")
(declare-function hywiki-get-referent "hywiki")
(declare-function kbd-key:act "hib-kbd")
(declare-function kbd-key:is-p "hib-kbd")
(declare-function org-context "org")

(declare-function hpath:file-position-to-line-and-column "hpath")

(declare-function hyrolo-hdr-move-after-p "hyrolo")
(declare-function smart-eolp "hui-mouse")
(declare-function hsys-org-at-read-only-p "hsys-org")

;;; ************************************************************************
;;; Private variables
Expand Down
2 changes: 1 addition & 1 deletion hgnus.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
;;; Other required Elisp libraries
;;; ************************************************************************

(eval-and-compile (mapc #'require '(hload-path hmail hsmail hypb gnus-msg)))
(eval-and-compile (mapc #'require '(hload-path hmail hsmail hypb gnus-msg hvar)))

;;; ************************************************************************
;;; Public variables
Expand Down
5 changes: 3 additions & 2 deletions hload-path.el
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ This is used only when running from git source and not a package release."

;; Ensure *-autoloads.el files are already generated or generate them.
;; Then ensure they are loaded.
(hyperb:maybe-generate-autoloads)
(hyperb:maybe-load-autoloads)
(unless noninteractive
(hyperb:maybe-generate-autoloads)
(hyperb:maybe-load-autoloads))

(provide 'hload-path)

Expand Down
3 changes: 2 additions & 1 deletion hmh.el
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
;; This file is part of GNU Hyperbole.

;;; Commentary:
;;
;;
;; Automatically configured for use in "hsettings.el".
;; If hsettings loading fails prior to initializing Hyperbole Mh support,
;;
Expand Down Expand Up @@ -41,6 +41,7 @@
;;; ************************************************************************

(declare-function hypb:window-list "hypb")
(declare-function var:append "hvar")

;;; ************************************************************************
;;; Public functions
Expand Down
2 changes: 2 additions & 0 deletions hmouse-drv.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
(defvar hmouse-set-point-command) ; "hui-mouse.el"

(defvar hyperbole-mode-map) ; "hyperbole.el"
(defvar hyperbole-mode) ; "hyperbole.el"

(defvar action-key-default-function) ; defcustom hui-mouse
(defvar assist-key-default-function) ; defcustom hui-mouse
Expand All @@ -73,6 +74,7 @@
(declare-function hui:ebut-link-directly "hui")
(declare-function hui:ibut-link-directly "hui")
(declare-function org-todo "org")
(declare-function hpath:display-buffer "hpath")

;;; ************************************************************************
;;; Public variables
Expand Down
12 changes: 6 additions & 6 deletions hmouse-sh.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
(defvar hmouse-set-point-command) ; "hui-mouse.el"
(defvar hmouse-bindings) ; "hmouse-key.el"
(defvar hmouse-bindings-flag) ; "hmouse-key.el"

(defvar hyperbole-mode) ; "hyperbole.el"
(defvar Info-mode-map)

(declare-function action-key-depress-emacs "hmouse-drv")
Expand Down Expand Up @@ -98,7 +98,7 @@ Use nil as cmd value to unbind a key."
[right-fringe down-mouse-3]
[vertical-line down-mouse-3]
[mode-line down-mouse-3])

([down-mouse-4]
[double-down-mouse-4] [triple-down-mouse-4]
[header-line down-mouse-4]
Expand All @@ -114,7 +114,7 @@ Use nil as cmd value to unbind a key."
[right-fringe down-mouse-5]
[vertical-line down-mouse-5]
[mode-line down-mouse-5]))))

(hmouse-set-key-list
release-cmd
(nth (1- mouse-key-number)
Expand Down Expand Up @@ -209,7 +209,7 @@ This includes depresses and drags. Shifted Mouse Key 1 is
[right-fringe S-down-mouse-3]
[vertical-line S-down-mouse-3]
[mode-line S-down-mouse-3])

([S-down-mouse-4] [header-line S-down-mouse-4]
[left-fringe S-down-mouse-4]
[right-fringe S-down-mouse-4]
Expand All @@ -221,7 +221,7 @@ This includes depresses and drags. Shifted Mouse Key 1 is
[right-fringe S-down-mouse-5]
[vertical-line S-down-mouse-5]
[mode-line S-down-mouse-5]))))

(hmouse-set-key-list
release-cmd
(nth (1- shifted-mouse-key-number)
Expand Down Expand Up @@ -290,7 +290,7 @@ This includes depresses and drags. Shifted Mouse Key 1 is
[vertical-line S-mouse-5]
[mode-line S-drag-mouse-5]
[mode-line S-mouse-5])))))

(defun hmouse-get-bindings (middle-flag)
"Return the list of active bindings of mouse keys used by Hyperbole.
If MIDDLE-FLAG is non-nil, include the middle mouse key
Expand Down
3 changes: 2 additions & 1 deletion hmouse-tag.el
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
(defvar hkey-value) ; "hui-mouse.el"

(declare-function hsys-org-get-value "hsys-org")
(declare-function hsys-org-mode-p "hsys-org")
(declare-function org-in-src-block-p "org")
(declare-function ibtype:def-symbol "hbut")

Expand Down Expand Up @@ -890,7 +891,7 @@ Otherwise:
identifier, then the man page is displayed."

(interactive)

(if (fboundp 'objc-to-definition)
;; Only fboundp if the OO-Browser has been loaded.
(smart-objc-oo-browser)
Expand Down
1 change: 1 addition & 0 deletions hpath.el
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ The format is ${variable}. Match grouping 1 is the name of the variable.")
(declare-function kbd-key:key-series-to-events "hib-kbd")
(declare-function kcell-view:indent "kcell-view")
(declare-function klink:act "klink")
(declare-function kotl-mode:to-valid-position "kotl-mode")
(declare-function mm-mailcap-command "mm-decode")
(declare-function org-element-property "org-element-ast")

Expand Down
4 changes: 3 additions & 1 deletion hrmail.el
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
;; This file is part of GNU Hyperbole.

;;; Commentary:
;;
;;
;; Automatically configured for use in "hyperbole.el".
;; If hsettings loading fails prior to initializing Hyperbole Rmail support,
;;
Expand All @@ -37,6 +37,8 @@
(defvar rmail-old-text)
(defvar message-setup-hook) ; "message.el"

(declare-function smart-eobp "hui-mouse")

;;; ************************************************************************
;;; Public functions
;;; ************************************************************************
Expand Down
6 changes: 6 additions & 0 deletions hsmail.el
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ for a comment.")
;; message-mode defines message-indentation-spaces - mail-indentation-spaces removed
;; message-mode defines message-reply-buffer - mail-reply-buffer removed

;;; ************************************************************************
;;; Public declarations
;;; ************************************************************************

(declare-function hmail:msg-narrow "hmail")

;;; ************************************************************************
;;; Overloaded functions
;;; ************************************************************************
Expand Down
12 changes: 7 additions & 5 deletions hsys-consult.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
;;; Public declarations
;;; ************************************************************************

(declare-function hyrolo-at-tags-p "hyrolo")
(declare-function hywiki-at-tags-p "hywiki")
(declare-function hsys-org-directory-at-tags-p "hsys-org")
(declare-function hsys-org-at-tags-p "hsys-org")

(declare-function consult--async-command "ext:consult")
(declare-function consult--grep "ext:consult")
(declare-function consult--grep-make-builder "ext:consult")
Expand All @@ -51,6 +46,13 @@
(declare-function consult--ripgrep-make-builder "ext:consult")
(declare-function consult-grep "ext:consult")
(declare-function consult-ripgrep "ext:consult")
(declare-function hsys-org-at-tags-p "hsys-org")
(declare-function hsys-org-consult-grep "hsys-org")
(declare-function hsys-org-directory-at-tags-p "hsys-org")
(declare-function hyrolo-at-tags-p "hyrolo")
(declare-function hyrolo-consult-grep "hyrolo")
(declare-function hywiki-at-tags-p "hywiki")
(declare-function hywiki-consult-grep "hywiki")
(declare-function org-roam-db-autosync-mode "ext:org-roam")
(declare-function org-roam-node-find "ext:org-roam")
(declare-function org-roam-node-level "ext:org-roam")
Expand Down
3 changes: 3 additions & 0 deletions hsys-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
(declare-function hsys-org-roam-tags-view "hsys-org")

(declare-function org-babel-get-src-block-info "org-babel")
(declare-function org-element--property "org-element-ast")
(declare-function org-element-lineage "org-element-ast")
(declare-function org-element-type "org-element-ast")
(declare-function org-fold-show-context "org-fold")
(declare-function org-id-find "org-id")
(declare-function org-link-open-from-string "ol")
Expand Down
3 changes: 2 additions & 1 deletion hsys-www.el
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@

(declare-function eww--dwim-expand-url "eww" (url))

(declare-function hpath:display-buffer "hpath")
(declare-function hpath:remote-at-p "hpath")
(declare-function hpath:remote-available-p "hpath")
(declare-function hpath:remote-p "hpath")
(declare-function hpath:remote-at-p "hpath")
(declare-function hpath:www-at-p "hpath")

;; Forward declare conditionally defined functions
Expand Down
10 changes: 8 additions & 2 deletions hui-mini.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
(defvar hargs:reading-type) ; "hargs.el"
(defvar hbmap:dir-user) ; "hbmap.el"
(defvar hbmap:filename) ; "hbmap.el"
(defvar hsys-org-enable-smart-keys) ; "hsys-org.el"
(defvar hui:menu-highlight-flag) ; "hui-mini.el"
(defvar hui:menu-hywiki nil) ; "hui-mini.el"
(defvar hui:menu-mode-map) ; "hui-mini.el"
Expand All @@ -41,9 +42,14 @@
(defvar hywiki-mode) ; "hywiki.el"
(defvar org-mode-map) ; "org.el"

(declare-function hpath:find "hpath")
(declare-function hmouse-update-smart-keys "hmouse-key")
(declare-function hargs:at-p "hargs")
(declare-function hkey-help-show "hmouse-drv")
(declare-function hmouse-update-smart-keys "hmouse-key")
(declare-function hpath:find "hpath")
(declare-function hyperb:init-menubar "hinit")
(declare-function hyperbole-mode "hyperbole")
(declare-function hyrolo-add "hyrolo")
(declare-function hyrolo-fgrep "hyrolo")
(declare-function kbd-key:hyperbole-mini-menu-key-p "hib-kbd")

;;; ************************************************************************
Expand Down
5 changes: 5 additions & 0 deletions hui-mouse.el
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@
(declare-function kotl-mode:eobp "kotl-mode")
(declare-function kotl-mode:eolp "kotl-mode")

;; Other Hyperbole functions
(declare-function smart-python-at-tag-p "hmouse-tag")
(declare-function smart-tags-file-list "hmouse-tag")
(declare-function Info-handle-in-note "hmouse-info")

;; Emacs functions
(declare-function Custom-buffer-done "cus-edit")
(declare-function Custom-newline "cus-edit")
Expand Down
6 changes: 4 additions & 2 deletions hui-select.el
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,12 @@ Used to include a final line when marking indented code.")
(defvar hyperbole-mode-map) ; "hyperbole.el"
(defvar org-mode-map) ; "org.el"

(declare-function kview:valid-position-p "kotl/kview")
(declare-function hargs:delimited "hargs")
(declare-function hkey-set-key "hyperbole")
(declare-function hypb:cmd-key-vector "hypb")
(declare-function hargs:delimited "hargs")
(declare-function kotl-mode:to-valid-position "kotl/kotl-mode")
(declare-function kview:valid-position-p "kotl/kview")
(declare-function smart-eobp "hui-mouse")

;;; ************************************************************************
;;; Private variables
Expand Down
4 changes: 4 additions & 0 deletions hui-window.el
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@
(declare-function hbut:act "hbut")
(declare-function hbut:action "hbut")
(declare-function hbut:at-p "hbut")
(declare-function hkey-help-hide "hmouse-drv")
(declare-function hkey-summarize "hmouse-drv")
(declare-function hmouse-save-region "hmouse-drv")
(declare-function hmouse-use-region-p "hmouse-drv")
(declare-function hmouse-window-coordinates "hmouse-drv")
(declare-function hui-menu-screen-commands "hui-jmenu")
(declare-function hyperbole "hui-mini")
(declare-function smart-eobp "hui-mouse")
(declare-function smart-helm-alive-p "hui-mouse")
(declare-function smart-helm-line-has-action "hui-mouse")
(declare-function smart-helm-to-minibuffer "hui-mouse")
Expand Down
6 changes: 5 additions & 1 deletion hui.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
(defvar hyperbole-mode-map) ; "hyperbole.el"
(defvar hywiki-mode) ; "hywiki.el"

(declare-function Info-menu-item-at-p "hmouse-info")
(declare-function actypes::link-to-wikiword "hywiki")
(declare-function bookmark-bmenu-bookmark "bookmark")
(declare-function hui-register-struct-at-point "hui-register")
(declare-function hui:menu-choose "hui-mini")
(declare-function hywiki-get-buffer-page-name "hywiki")
(declare-function hywiki-in-page-p "hywiki")
Expand All @@ -50,7 +52,9 @@
(declare-function kcell-view:absolute-reference "kotl/kview")
(declare-function kcell-view:idstamp "kotl/kview")
(declare-function klink:absolute "kotl/klink")
(declare-function kotl-mode:copy-region-as-kill "kotl-mode")
(declare-function klink:at-p "kotl/klink")
(declare-function kotl-mode "kotl/kotl-mode")
(declare-function kotl-mode:copy-region-as-kill "kotl/kotl-mode")
(declare-function kotl-mode:kill-region "kotl-mode")
(declare-function texinfo-copy-node-name "texnfo-upd")

Expand Down
1 change: 1 addition & 0 deletions hversion.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
(declare-function hpath:substitute-value "hpath")
(declare-function id-info-item "hversion")
(declare-function br-in-browser "hpath")
(declare-function hpath:display-buffer "hpath")

;;; ************************************************************************
;;; Public variables
Expand Down
Loading