Commits

Anonymous committed a95ec37

bind the shortcuts only when ropemacs-enable-shortcuts is set

Reported by Yu-Xi Lim.

Comments (0)

Files changed (1)

     _interface.init()
     lisp(MINOR_MODE)
 
-    for key, command in shortcuts:
-        LispUtils()._bind_local(command, key)
+    if _interface.get('enable_shortcuts'):
+        for key, command in shortcuts:
+            LispUtils()._bind_local(command, key)
 
     lisp.add_hook(lisp['python-mode-hook'], lisp['ropemacs-mode'])