summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-11-11 14:38:10 +0059
committerGregor Kleen <gkleen@yggdrasil.li>2021-11-11 14:38:10 +0059
commit2e51971f493a5e418bef2f16f8e02c09b3838d41 (patch)
tree4834fdd8755fa5e5d0556a15dbc0a0240e62ec00
parent9548382fd01127f820a187a27df209bd568d0874 (diff)
downloadnixos-2e51971f493a5e418bef2f16f8e02c09b3838d41.tar
nixos-2e51971f493a5e418bef2f16f8e02c09b3838d41.tar.gz
nixos-2e51971f493a5e418bef2f16f8e02c09b3838d41.tar.bz2
nixos-2e51971f493a5e418bef2f16f8e02c09b3838d41.tar.xz
nixos-2e51971f493a5e418bef2f16f8e02c09b3838d41.zip
Revert "gkleen@sif: ..."
This reverts commit 9548382fd01127f820a187a27df209bd568d0874.
-rw-r--r--accounts/gkleen@sif/emacs.el3
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)