file shortcut
authortimmy <timmy@timmy-desktop.(none)>
Thu, 18 Mar 2010 03:26:24 +0000 (23:26 -0400)
committertimmy <timmy@timmy-desktop.(none)>
Thu, 18 Mar 2010 03:26:24 +0000 (23:26 -0400)
src/core/file.slate

index 40cbf4a..9b5be5d 100644 (file)
@@ -72,6 +72,11 @@ registration."
   f cloneSettingSlots: #(handle locator mode) to: {Nil. locator. mode}
 ].
 
+s@(String traits) file
+[
+  File newNamed: s
+].
+
 f@(File traits) enable
 "Open the file in its associated mode."
 [| filename |