git.fiddlerwoaroof.com
Browse code

chore: reformat

Edward Langley authored on 11/10/2019 02:01:57
Showing 1 changed files
... ...
@@ -92,18 +92,6 @@
92 92
                                          :set nil)
93 93
     (capi:display interface)))
94 94
 
95
-(eval-when (:compile-toplevel :load-toplevel :execute)
96
-  (defun debugging (condition fun)
97
-    (declare (ignore fun))
98
-    (let ((*print-readably* nil)
99
-          (out (make-instance 'capi:collector-pane)))
100
-      (princ condition (capi:collector-pane-stream out))
101
-      (prin1 (mapcar 'restart-name
102
-                     (compute-restarts condition) )
103
-             (capi:collector-pane-stream out))
104
-      (capi:contain out)
105
-      (abort))))
106
-
107 95
 (capi:define-interface my-app-interface (capi:cocoa-default-application-interface)
108 96
   ()
109 97
   (:menus 
... ...
@@ -186,9 +174,23 @@
186 174
   (interface :default-account 
187 175
              (ubiquitous:value :default-account)))
188 176
 
189
-(defun start-in-repl (&optional (accounts (asdf:system-relative-pathname :aws-access "accounts.json")))
177
+(defun start-in-repl
178
+    (&optional (accounts (asdf:system-relative-pathname :aws-access "accounts"
179
+                                                        :type "json")))
190 180
   (run accounts))
191 181
 
182
+(eval-when (:compile-toplevel :load-toplevel :execute)
183
+  (defun debugging (condition fun)
184
+    (declare (ignore fun))
185
+    (let ((*print-readably* nil)
186
+          (out (make-instance 'capi:collector-pane)))
187
+      (princ condition (capi:collector-pane-stream out))
188
+      (prin1 (mapcar 'restart-name
189
+                     (compute-restarts condition) )
190
+             (capi:collector-pane-stream out))
191
+      (capi:contain out)
192
+      (abort))))
193
+
192 194
 (defun main ()
193 195
   (setf *debugger-hook* 'debugging)
194 196
   (capi:set-application-interface (make-instance 'my-app-interface))