Skip to content

Commit 9a8f099

Browse files
authored
Merge pull request #605 from rswgnu/remove-warnings
remove warnings
2 parents dea72c9 + f8d9d56 commit 9a8f099

File tree

4 files changed

+36
-43
lines changed

4 files changed

+36
-43
lines changed

hibtypes.el

+16-20
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Author: Bob Weiner
44
;;
55
;; Orig-Date: 19-Sep-91 at 20:45:31
6-
;; Last-Mod: 28-Oct-24 at 01:32:59 by Bob Weiner
6+
;; Last-Mod: 13-Nov-24 at 13:08:00 by Mats Lidell
77
;;
88
;; SPDX-License-Identifier: GPL-3.0-or-later
99
;;
@@ -50,41 +50,37 @@
5050
;;; Public declarations
5151
;;; ************************************************************************
5252

53-
(declare-function markdown-footnote-goto-text "ext:markdown")
54-
(declare-function markdown-footnote-marker-positions "ext:markdown")
55-
(declare-function markdown-footnote-return "ext:markdown")
56-
(declare-function markdown-link-p "ext:markdown")
57-
(declare-function markdown-link-url "ext:markdown")
58-
(declare-function markdown-reference-goto-definition "ext:markdown")
59-
(declare-function markdown-reference-goto-link "ext:markdown")
60-
(declare-function markdown-wiki-link-p "ext:markdown")
61-
(declare-function markdown-footnote-text-positions "ext:markdown")
62-
(declare-function org-roam-id-find "ext:org-roam")
53+
(defvar cscope-output-line-regexp)
54+
(defvar id-cflow-repeated-indicator)
6355
(defvar markdown-regex-link-reference)
6456
(defvar markdown-regex-reference-definition)
65-
66-
(defvar id-cflow-repeated-indicator)
67-
68-
(defvar cscope-output-line-regexp)
69-
7057
(defvar org-uuid-regexp)
7158

7259
(declare-function actype:eval "hact")
7360
(declare-function actype:identity "hact")
61+
(declare-function ert-test-boundp "ert")
7462
(declare-function hact "hact")
7563
(declare-function hpath:display-buffer "hpath")
7664
(declare-function htype:def-symbol "hact")
7765
(declare-function hui:help-ebut-highlight "hui")
7866
(declare-function hyperb:stack-frame "hversion")
67+
(declare-function hyrolo-get-file-list "hyrolo")
68+
(declare-function hywiki-get-singular-page-name "hywiki")
7969
(declare-function hywiki-page-exists-p "hywiki")
80-
70+
(declare-function markdown-footnote-goto-text "ext:markdown")
71+
(declare-function markdown-footnote-marker-positions "ext:markdown")
72+
(declare-function markdown-footnote-return "ext:markdown")
73+
(declare-function markdown-footnote-text-positions "ext:markdown")
74+
(declare-function markdown-link-p "ext:markdown")
75+
(declare-function markdown-link-url "ext:markdown")
76+
(declare-function markdown-reference-goto-definition "ext:markdown")
77+
(declare-function markdown-reference-goto-link "ext:markdown")
78+
(declare-function markdown-wiki-link-p "ext:markdown")
79+
(declare-function org-roam-id-find "ext:org-roam")
8180
(declare-function set:member "set")
8281
(declare-function symset:add "hact")
8382
(declare-function symtable:add "hact")
8483

85-
(declare-function hyrolo-get-file-list "hyrolo")
86-
(declare-function ert-test-boundp "ert")
87-
8884
;;; ************************************************************************
8985
;;; Public implicit button types
9086
;;; ************************************************************************

hui-treemacs.el

+14-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Author: Bob Weiner
44
;;
55
;; Orig-Date: 19-Nov-17
6-
;; Last-Mod: 10-Nov-24 at 17:27:30 by Bob Weiner
6+
;; Last-Mod: 13-Nov-24 at 13:09:22 by Mats Lidell
77
;;
88
;; SPDX-License-Identifier: GPL-3.0-or-later
99
;;
@@ -37,25 +37,27 @@
3737
;;; ************************************************************************
3838
;;; Public declarations
3939
;;; ************************************************************************
40+
(defvar action-key-depress-window) ; "hmouse-drv.el"
41+
(defvar action-key-eol-function) ; "hmouse-drv.el"
42+
(defvar assist-flag) ; "hmouse-drv.el"
43+
(defvar assist-key-eol-function) ; "hmouse-drv.el"
44+
(defvar aw-ignored-buffers)
45+
46+
(declare-function first-line-p "hui-mouse")
47+
(declare-function hact "hact")
48+
(declare-function hypb:require-package "hypb")
49+
(declare-function last-line-p "hui-mouse")
50+
(declare-function package-activate "package")
4051
(declare-function treemacs "ext:treemacs")
52+
(declare-function treemacs-add-and-display-current-project-exclusively "ext:treemacs")
4153
(declare-function treemacs-current-button "ext:treemacs-core-utils")
4254
(declare-function treemacs-current-visibility "ext:treemacs-scope")
55+
(declare-function treemacs-display-current-project-exclusively "ext:treemacs")
4356
(declare-function treemacs-get-local-window "ext:treemacs-scope")
4457
(declare-function treemacs-is-treemacs-window? "ext:treemacs-core-utils")
4558
(declare-function treemacs-node-buffer-and-position "ext:treemacs-mouse-interface")
4659
(declare-function treemacs-quit "ext:treemacs-interface")
4760
(declare-function treemacs-toggle-node "ext:treemacs-interface")
48-
(defvar aw-ignored-buffers)
49-
50-
(defvar assist-flag) ; "hmouse-drv.el"
51-
(defvar action-key-eol-function) ; "hmouse-drv.el"
52-
(defvar assist-key-eol-function) ; "hmouse-drv.el"
53-
(defvar action-key-depress-window) ; "hmouse-drv.el"
54-
55-
(declare-function first-line-p "hui-mouse")
56-
(declare-function last-line-p "hui-mouse")
57-
(declare-function hact "hact")
58-
(declare-function package-activate "package")
5961

6062
;;; ************************************************************************
6163
;;; smart-treemacs functions

hyrolo.el

+3-10
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Author: Bob Weiner
44
;;
55
;; Orig-Date: 7-Jun-89 at 22:08:29
6-
;; Last-Mod: 3-Nov-24 at 09:37:58 by Bob Weiner
6+
;; Last-Mod: 13-Nov-24 at 13:17:36 by Mats Lidell
77
;;
88
;; SPDX-License-Identifier: GPL-3.0-or-later
99
;;
@@ -1973,16 +1973,15 @@ Return number of matching entries found."
19731973
;; Save pattern as last rolo search expression.
19741974
(setq hyrolo-match-regexp pattern)
19751975
;;
1976-
(let ((new-buf-flag) (actual-buf)
1976+
(let ((actual-buf)
19771977
;; Temporarily disable magit-auto-revert-mode-enable-in-buffers for hyrolo
19781978
;; buffers; not needed and can slow/hang file loading
19791979
(after-change-major-mode-hook
19801980
(remove 'magit-auto-revert-mode-enable-in-buffers after-change-major-mode-hook)))
19811981
(if (and (or (null max-matches) (eq max-matches t) (integerp max-matches))
19821982
(or (setq actual-buf (hyrolo-buffer-exists-p hyrolo-file-or-buf))
19831983
(when (file-exists-p hyrolo-file-or-buf)
1984-
(setq actual-buf (hyrolo-find-file-noselect hyrolo-file-or-buf)
1985-
new-buf-flag t))))
1984+
(setq actual-buf (hyrolo-find-file-noselect hyrolo-file-or-buf)))))
19861985
(let ((num-found 0)
19871986
(incl-hdr t)
19881987
(stuck-negative-point 0)
@@ -1997,12 +1996,6 @@ Return number of matching entries found."
19971996
max-matches (- max-matches)))))
19981997
(set-buffer actual-buf)
19991998

2000-
;; Comment out next two lines that could set source buffer
2001-
;; to read-only since this can break org-capture into the
2002-
;; buffer. -- rsw, 2024-11-03
2003-
;; (when new-buf-flag
2004-
;; (setq buffer-read-only t))
2005-
20061999
(when (and headline-only
20072000
(not (string-match (concat "\\`\\(" (regexp-quote "^") "\\|" (regexp-quote "\\`") "\\)") pattern)))
20082001
;; If matching only to headlines and pattern is not already

hywiki.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Author: Bob Weiner
44
;;
55
;; Orig-Date: 21-Apr-24 at 22:41:13
6-
;; Last-Mod: 10-Nov-24 at 15:44:27 by Bob Weiner
6+
;; Last-Mod: 13-Nov-24 at 13:13:51 by Mats Lidell
77
;;
88
;; SPDX-License-Identifier: GPL-3.0-or-later
99
;;
@@ -136,9 +136,11 @@
136136
;;; Public declarations
137137
;;; ************************************************************************
138138

139+
(defvar action-key-modeline-buffer-id-function) ;; "hui-mouse"
139140
(defvar org-agenda-buffer-tmp-name) ;; "org-agenda.el"
140141
(defvar org-export-with-broken-links);; "ox.el"
141142
(defvar org-publish-project-alist) ;; "ox-publish.el"
143+
142144
(declare-function hsys-org-at-tags-p "hsys-org")
143145
(declare-function org-link-store-props "ol" (&rest plist))
144146
(declare-function org-publish-property "ox-publish" (property project &optional default))

0 commit comments

Comments
 (0)