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