summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-07-01 17:10:29 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-07-01 17:16:15 -0400
commit06db93793782ffc5dace1c1b0e0a6857f5517563 (patch)
tree3ba2ce5c5d0a0c5fa4cc4b77fdd1160f2a5ba849
parenta5264628998dc81e677ad7caebb85d18cc61c7c6 (diff)
downloademacs.d-06db93793782ffc5dace1c1b0e0a6857f5517563.tar.gz
prevent org from clobbering custom binding
Disable "C-'" binding for org-cycle-agenda-files, which conflicts with custom binding for backward-kill-word
-rw-r--r--init/km-org.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/km-org.el b/init/km-org.el
index 499c503..035d1c6 100644
--- a/init/km-org.el
+++ b/init/km-org.el
@@ -117,3 +117,8 @@
;; by default this has started inserting uppercase for me. keep lower
(add-to-list 'org-structure-template-alist
'("s" "#+begin_src ?\n\n#+end_src" "<src lang=\"?\">\n\n</src>"))
+
+;; don't let `org-cycle-agenda-files' binding override custom
+;; `backward-kill-word' binding (`org-cycle-agenda-files' is still bound
+;; to C-,)
+(define-key org-mode-map (kbd "C-'") nil)