diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-11-11 14:36:49 +0059 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-11-11 14:36:49 +0059 |
commit | 9548382fd01127f820a187a27df209bd568d0874 (patch) | |
tree | 178431c7ef82a703ef8b882fecd9be823c01ac3d /accounts/gkleen@sif/emacs.el | |
parent | 10529def347dc8777891e26414337b0122d76f6e (diff) | |
download | nixos-9548382fd01127f820a187a27df209bd568d0874.tar nixos-9548382fd01127f820a187a27df209bd568d0874.tar.gz nixos-9548382fd01127f820a187a27df209bd568d0874.tar.bz2 nixos-9548382fd01127f820a187a27df209bd568d0874.tar.xz nixos-9548382fd01127f820a187a27df209bd568d0874.zip |
gkleen@sif: ...
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) |