summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-12-28 13:25:49 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-12-29 11:03:03 +0100
commita6db8464e150c49724c71c5969b97f205ee2dec5 (patch)
tree3820e077c06416fee99f609508c2284353994343 /admin
parent1a88a28ace24c8b4fb1e4780948b50dd37ada539 (diff)
downloademacs-a6db8464e150c49724c71c5969b97f205ee2dec5.tar.gz
; Fix byte-compilation warnings in admin/*.el
Diffstat (limited to 'admin')
-rw-r--r--admin/admin.el3
-rw-r--r--admin/find-gc.el2
-rw-r--r--admin/gitmerge.el2
3 files changed, 5 insertions, 2 deletions
diff --git a/admin/admin.el b/admin/admin.el
index 6a67f172e2c..12c9c10b1a5 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -843,8 +843,11 @@ $Date: %s $
(package-install pkg)
(require pkg nil t))))
+(declare-function org-html-export-as-html "ox-html.el")
(defvar org-html-postamble)
(defvar org-html-mathjax-template)
+(defvar htmlize-output-type)
+
(defun make-news-html-file (root version)
"Convert the NEWS file into an HTML file."
(interactive (let ((root
diff --git a/admin/find-gc.el b/admin/find-gc.el
index 1c3c419c563..6b0e2a3d803 100644
--- a/admin/find-gc.el
+++ b/admin/find-gc.el
@@ -100,7 +100,7 @@ Also store it in `find-gc-unsafe-list'."
-(defun trace-call-tree (&optional ignored)
+(defun trace-call-tree (&optional _ignored)
(message "Setting up directories...")
(setq find-gc-subrs-called nil)
(let ((case-fold-search nil)
diff --git a/admin/gitmerge.el b/admin/gitmerge.el
index ddd3e184424..1ff8137e154 100644
--- a/admin/gitmerge.el
+++ b/admin/gitmerge.el
@@ -293,7 +293,7 @@ should not be skipped."
"Try to resolve conflicts in FILE with smerge.
Returns non-nil if conflicts remain."
(unless (file-exists-p file) (error "Gitmerge-resolve: Can't find %s" file))
- (with-demoted-errors
+ (with-demoted-errors "Error: %S"
(let ((exists (find-buffer-visiting file)))
(with-current-buffer (let ((enable-local-variables :safe)
(enable-local-eval nil))