branch: elpa/scad-mode
commit e5ed92217ed9f835ed61d0fec22d00253d4d7c76
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    Cleanup mode map
    
    Don't bind <return>, since it shadows RET.
---
 scad-mode.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scad-mode.el b/scad-mode.el
index 364ed3c422..82da5207a3 100644
--- a/scad-mode.el
+++ b/scad-mode.el
@@ -126,9 +126,8 @@
 
 (defvar scad-mode-map
   (let ((map (make-sparse-keymap)))
-    (define-key map [(control c) (control o)] 'scad-open-current-buffer)
-    (define-key map [return] 'newline-and-indent)
-    ;;(define-key map [(control c) (control s)] 'c-show-syntactic-information) 
;; Debugging info
+    (define-key map "\C-c\C-o" #'scad-open-current-buffer)
+    ;;(define-key map "\C-c\C-s" #'c-show-syntactic-information) ;; Debugging 
info
     map)
   "Keymap for `scad-mode'.")
 

Reply via email to