diff src/utilops.c @ 134:9009856628f7

started implementation of external commands; external Delete should work
author nadvornik
date Wed, 15 Aug 2007 21:37:51 +0000
parents 53b2bfdcff69
children 15c1925b3bfb
line wrap: on
line diff
--- a/src/utilops.c	Fri Jul 20 07:10:48 2007 +0000
+++ b/src/utilops.c	Wed Aug 15 21:37:51 2007 +0000
@@ -1233,6 +1233,11 @@
 
 	if (!isfile(path)) return FALSE;
 
+	if (editor_command[CMD_DELETE])
+		{
+		return start_editor_from_file(CMD_DELETE, path);
+		}
+
 	if (!safe_delete_enable)
 		{
 		return unlink_file(path);