From 98a1e480c60c47536e01079d28030f1b1b8c10e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Mon, 25 Sep 2023 15:16:31 +0200 Subject: [PATCH] ; flymake-proc.el: move variable declarations * lisp/progmodes/flymake-proc.el (flymake-proc--temp-source-file-name) (flymake-proc--temp-master-file-name): Move to before first use. --- lisp/progmodes/flymake-proc.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/flymake-proc.el b/lisp/progmodes/flymake-proc.el index f640e7f32bf..2e9c28a92d5 100644 --- a/lisp/progmodes/flymake-proc.el +++ b/lisp/progmodes/flymake-proc.el @@ -607,6 +607,9 @@ Create parent directories as needed." (process-put proc 'flymake-proc--unprocessed-mark (point-marker)))))))) +(defvar-local flymake-proc--temp-source-file-name nil) +(defvar-local flymake-proc--temp-master-file-name nil) + (defun flymake-proc--process-sentinel (proc _event) "Sentinel for syntax check buffers." (let (debug @@ -910,9 +913,7 @@ can also be executed interactively independently of (file-truename (expand-file-name suffix temp-dir))) (setq suffix (file-name-directory suffix))))) -(defvar-local flymake-proc--temp-source-file-name nil) (defvar-local flymake-proc--master-file-name nil) -(defvar-local flymake-proc--temp-master-file-name nil) (defvar-local flymake-proc--base-dir nil) (defun flymake-proc-init-create-temp-buffer-copy (create-temp-f) -- 2.39.2