diff options
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/gkleen@sif/emacs.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el index 16a1c954..4bbf1951 100644 --- a/accounts/gkleen@sif/emacs.el +++ b/accounts/gkleen@sif/emacs.el | |||
@@ -20,11 +20,10 @@ | |||
20 | (edit-server-start) | 20 | (edit-server-start) |
21 | 21 | ||
22 | (require 'mediawiki) | 22 | (require 'mediawiki) |
23 | (add-hook 'mediawiki-mode-hook | 23 | (defun mediawiki-unbind-arrows () |
24 | (lambda () | 24 | (define-key mediawiki-mode-map (kbd "<C-left>") nil) |
25 | (progn | 25 | (define-key mediawiki-mode-map (kbd "<C-right>") nil)) |
26 | (define-key mediawiki-mode-map (kbd "<C-left>") nil) | 26 | (add-hook 'mediawiki-mode-hook 'mediawiki-unbind-arrows) |
27 | (define-key mediawiki-mode-map (kbd "<C-right>") nil)))) | ||
28 | 27 | ||
29 | (global-subword-mode) | 28 | (global-subword-mode) |
30 | (global-undo-tree-mode) | 29 | (global-undo-tree-mode) |