emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/scad-mode e5ed92217e 10/47: Cleanup mode map


From: ELPA Syncer
Subject: [nongnu] elpa/scad-mode e5ed92217e 10/47: Cleanup mode map
Date: Sat, 12 Nov 2022 13:59:34 -0500 (EST)

branch: elpa/scad-mode
commit e5ed92217ed9f835ed61d0fec22d00253d4d7c76
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    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

[Prev in Thread] Current Thread [Next in Thread]