diff options
author | hut <hut@lepus.uberspace.de> | 2015-01-20 16:47:46 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-01-20 16:47:46 +0100 |
commit | e3de09cf89574d3b363308f59ee573741d7ce495 (patch) | |
tree | 37b2d7638c7b3bbc6fa301a5dbf4c6f8ca9062c9 /ranger | |
parent | f8a72ee23377d4fdc760aa53e2e08dbf364b5a06 (diff) | |
download | ranger-e3de09cf89574d3b363308f59ee573741d7ce495.tar.gz |
core.fm: Call default rifle.hook_command_preprocessing
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/fm.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py index 082df2f4..4fae117d 100644 --- a/ranger/core/fm.py +++ b/ranger/core/fm.py @@ -120,6 +120,7 @@ class FM(Actions, SignalDispatcher): self.rifle.hook_after_executing = lambda a, b, flags: \ self.ui.initialize() if 'f' not in flags else None self.rifle.hook_logger = self.notify + old_preprocessing_hook = self.rifle.hook_command_preprocessing # This hook allows image viewers to open all images in the current # directory, keeping the order of files the same as in ranger. @@ -156,7 +157,7 @@ class FM(Actions, SignalDispatcher): if new_command: command = "set -- %s; %s" % (escaped_filenames, new_command) - return command + return old_preprocessing_hook(command) self.rifle.hook_command_preprocessing = sxiv_workaround_hook |