diff options
Diffstat (limited to 'accounts/gkleen@sif/emacs.el')
-rw-r--r-- | accounts/gkleen@sif/emacs.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el index 4bbf1951..fb2b44f7 100644 --- a/accounts/gkleen@sif/emacs.el +++ b/accounts/gkleen@sif/emacs.el | |||
@@ -20,7 +20,8 @@ | |||
20 | (edit-server-start) | 20 | (edit-server-start) |
21 | 21 | ||
22 | (require 'mediawiki) | 22 | (require 'mediawiki) |
23 | (defun mediawiki-unbind-arrows () | 23 | (defun mediawiki-unbind-arrows (args) |
24 | "Unbind Ctrl+<Arrow key> from mediawiki-mode-map" | ||
24 | (define-key mediawiki-mode-map (kbd "<C-left>") nil) | 25 | (define-key mediawiki-mode-map (kbd "<C-left>") nil) |
25 | (define-key mediawiki-mode-map (kbd "<C-right>") nil)) | 26 | (define-key mediawiki-mode-map (kbd "<C-right>") nil)) |
26 | (add-hook 'mediawiki-mode-hook 'mediawiki-unbind-arrows) | 27 | (add-hook 'mediawiki-mode-hook 'mediawiki-unbind-arrows) |