Commits

Anonymous committed 6fa12b9

Set default layout to english-prog

Comments (0)

Files changed (1)

files/emacs-lisp-mode.el

      (function (describe-function function)))))
 
 (defun my-emacs-lisp-init ()
-  (bind-key "RET" 'my-emacs-lisp-open-line emacs-lisp-mode-map)
-  (bind-key "C-M-;" 'clippy-describe-function emacs-lisp-mode-map)
-  (bind-key "C-M-;" 'clippy-describe-function lisp-interaction-mode-map)
-  (bind-key "C-. ." 'my-describe-thing-in-buffer emacs-lisp-mode-map)
+  (with-map-bind-keys emacs-lisp-mode-map
+    ("RET" 'my-emacs-lisp-open-line)
+    ("C-M-;" 'clippy-describe-function)
+    ("C-M-;" 'clippy-describe-function)
+    ("C-. ." 'my-describe-thing-in-buffer))
+
+  (set-input-method "english-prog")
   (eldoc-mode 1)
   (letcheck-mode t))