From: Mattias EngdegÄrd Date: Mon, 25 Sep 2023 13:16:31 +0000 (+0200) Subject: ; flymake-proc.el: move variable declarations X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98a1e480c60c47536e01079d28030f1b1b8c10e6;p=emacs.git ; 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. --- 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)