summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-11-11 14:30:18 +0059
committerGregor Kleen <gkleen@yggdrasil.li>2021-11-11 14:30:18 +0059
commit70836c39039d385b8cd34297f6d9cd8285157e13 (patch)
tree62d7304e8b3ae8f746d43e2b20c76cb158de7a9e
parentad1402e6ca2f98e25911b2ff9782bc407fb9a0df (diff)
downloadnixos-70836c39039d385b8cd34297f6d9cd8285157e13.tar
nixos-70836c39039d385b8cd34297f6d9cd8285157e13.tar.gz
nixos-70836c39039d385b8cd34297f6d9cd8285157e13.tar.bz2
nixos-70836c39039d385b8cd34297f6d9cd8285157e13.tar.xz
nixos-70836c39039d385b8cd34297f6d9cd8285157e13.zip
gkleen@sif: ...
-rw-r--r--accounts/gkleen@sif/emacs.el9
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)