Index: /trunk/source/cocoa-ide/cocoa-editor.lisp
===================================================================
--- /trunk/source/cocoa-ide/cocoa-editor.lisp	(revision 12697)
+++ /trunk/source/cocoa-ide/cocoa-editor.lisp	(revision 12698)
@@ -2758,5 +2758,5 @@
     ((self hemlock-editor-document) path type)
   (rlet ((perror :id +null-ptr+))
-    (#/writeToURL:ofType:error: (#/fileURLWithPath: ns:ns-url path) self type perror)))
+    (#/writeToURL:ofType:error: self (#/fileURLWithPath: ns:ns-url path) type perror)))
 
 
