summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/api/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/api/__init__.py b/ranger/api/__init__.py
index 67ff8bc4..8e9b1d74 100644
--- a/ranger/api/__init__.py
+++ b/ranger/api/__init__.py
@@ -29,7 +29,7 @@ def hook_ready(fm):
 
 from ranger.core.linemode import LinemodeBase
 
-def custom_linemode(linemode_class):
+def register_linemode(linemode_class):
     from ranger.container.fsobject import FileSystemObject
     FileSystemObject.linemode_dict[linemode_class.name] = linemode_class()
     return linemode_class