1. leo2007
  2. ropemacs

Commits

Ali Gholami Rudi  committed 94f981c

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

Reported by Yu-Xi Lim.

  • Participants
  • Parent commits 9295083
  • Branches trunk

Comments (0)

Files changed (1)

File ropemacs/__init__.py

View file
  • Ignore whitespace
     _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'])