branch: elpa/magit
commit e8f8ad3c91c2f114f437b3917805a7dfc62583d6
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-process-section: Define earlier to avoid warning
    
    The `process' slot is added by this class and used in
    `magit-start-process'.
---
 lisp/magit-process.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/magit-process.el b/lisp/magit-process.el
index 5bd5be112a..8178519a03 100644
--- a/lisp/magit-process.el
+++ b/lisp/magit-process.el
@@ -44,6 +44,9 @@
 (define-obsolete-variable-alias 'magit-process-finish-apply-ansi-colors
   'magit-process-apply-ansi-colors "Magit-Section 4.3.2")
 
+(defclass magit-process-section (magit-section)
+  ((process :initform nil)))
+
 ;;; Options
 
 (defcustom magit-process-connection-type (not (eq system-type 'cygwin))
@@ -726,9 +729,6 @@ Magit status buffer."
 
 ;;; Process Internals
 
-(defclass magit-process-section (magit-section)
-  ((process :initform nil)))
-
 (setf (alist-get 'process magit--section-type-alist) 'magit-process-section)
 
 (defun magit-process-setup (program args)

Reply via email to