File: 50-keybindings.dpatch

package info (click to toggle)
lua-mode 20071122-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 92 kB
  • ctags: 98
  • sloc: lisp: 851; sh: 40; makefile: 31
file content (21 lines) | stat: -rw-r--r-- 885 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh /usr/share/dpatch/dpatch-run
## 50-keybindings.dpatch by Trent W. Buck <trentbuck@gmail.com>
##
## DP: Change/remove unusual keybindings.

@DPATCH@
diff -urNad lua-mode-20071122~/lua-mode.el lua-mode-20071122/lua-mode.el
--- lua-mode-20071122~/lua-mode.el	2007-12-28 21:35:19.000000000 +0100
+++ lua-mode-20071122/lua-mode.el	2008-03-02 10:55:53.000000000 +0100
@@ -370,9 +370,8 @@
                                         lua-mode-map)))
 
          ;; communication
-         (define-key map "\M-[" 'lua-beginning-of-proc)
-         (define-key map "\M-]" 'lua-end-of-proc)
-         (define-key map "\C-c" 'comment-region)
+         (define-key map (kbd "C-M-a") 'lua-beginning-of-proc)
+         (define-key map (kbd "C-M-e") 'lua-end-of-proc)
 	 (define-key map "\C-l" 'lua-send-buffer)
 	 (define-key map "\C-f" 'lua-search-documentation)
          (if lua-prefix-key