diff options
author | hut <hut@lavabit.com> | 2010-04-26 23:00:44 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-26 23:00:44 +0200 |
commit | 748d0a6a4369b8a99ad43e284524cbe64a9ecbf3 (patch) | |
tree | 3348c44258b46860df959e60726303523bd5f70a | |
parent | f1a454b00d5e75eed3843d750c7e7d38d2a50269 (diff) | |
download | ranger-748d0a6a4369b8a99ad43e284524cbe64a9ecbf3.tar.gz |
defaults.apps: moved INTERPRETED_LANGUAGES to the bottom
-rw-r--r-- | ranger/defaults/apps.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py index 93fed45d..4fc4dc3c 100644 --- a/ranger/defaults/apps.py +++ b/ranger/defaults/apps.py @@ -49,11 +49,6 @@ This example modifies the behaviour of "feh" and adds a custom media player: from ranger.api.apps import * from ranger.ext.get_executables import get_executables -INTERPRETED_LANGUAGES = re.compile(r''' - ^(text|application)/x-( - haskell|perl|python|ruby|sh - )$''', re.VERBOSE) - class CustomApplications(Applications): def app_default(self, c): """How to determine the default application?""" @@ -255,3 +250,8 @@ class CustomApplications(Applications): return tup("totem", *c) if c.mode is 1: return tup("totem", "--fullscreen", *c) + +INTERPRETED_LANGUAGES = re.compile(r''' + ^(text|application)/x-( + haskell|perl|python|ruby|sh + )$''', re.VERBOSE) |