From 8671e6bfbce1bf4ff71d561d3288ef95c2cca74d Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 6 Oct 2025 20:39:12 +0200 Subject: Declare magit-log-heading-re in magit-diff.el --- CHANGELOG | 4 ++++ lisp/magit-diff.el | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 52e7599..c2734fb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,8 @@ # -*- mode: org -*- +* v4.4.2 UNRELEASED + +- Addressed harmless compiler warning. + * v4.4.1 2025-10-06 - Added new option ~magit-log-trailer-labels~. #5432 diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el index 86da796..1b3d568 100644 --- a/lisp/magit-diff.el +++ b/lisp/magit-diff.el @@ -42,6 +42,8 @@ ;; For `magit-diff-visit-file' (declare-function magit-find-file-noselect "magit-files" (rev file &optional revert)) (declare-function magit-status-setup-buffer "magit-status" (&optional directory)) +;; For `magit-diff-wash-diff' +(defvar magit-log-heading-re) ;; For `magit-diff-while-committing' (declare-function magit-commit-diff-1 "magit-commit" ()) (declare-function magit-commit-message-buffer "magit-commit" ()) -- cgit v1.0