about summary refs log tree commit diff stats
path: root/code
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-22 00:21:01 +0200
committerhut <hut@lavabit.com>2009-06-22 00:21:01 +0200
commit9f55a155d241e102812ea6b5acf60f8f159c9e44 (patch)
tree385a6ca064acac849c282d5d4e8fadee4c1a5380 /code
parent1575c43aa3a2a8e6bba36d65920778ef52e7584d (diff)
downloadranger-9f55a155d241e102812ea6b5acf60f8f159c9e44.tar.gz
changed the place where default flags are specified
Diffstat (limited to 'code')
-rw-r--r--code/action.rb2
-rw-r--r--code/keys.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/code/action.rb b/code/action.rb
index 48fd6f42..89ac0355 100644
--- a/code/action.rb
+++ b/code/action.rb
@@ -27,7 +27,7 @@ module Action
 		rc ||= RunContext.new(Fm.getfiles)
 		assert rc, RunContext
 
-		all      = rc.all.or true
+		all      = rc.all.or false
 		files    = rc.files
 		mode     = rc.mode.or 0
 
diff --git a/code/keys.rb b/code/keys.rb
index 1b1d4fd6..ecad2eca 100644
--- a/code/keys.rb
+++ b/code/keys.rb
@@ -532,7 +532,7 @@ module Fm
 				enter_dir_safely(currentfile.path)
 			else
 				mode = @buffer == 'L' ? 1 : 0
-				Action.run(RunContext.new(getfiles, mode))
+				Action.run(RunContext.new(getfiles, mode, 'a'))
 			end
 
 		when /^[ri](\d*)([adetw]*)[ri]$/