From 6eaab8ee32bae08831da5040d1f0bf13e815ce65 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 4 Jun 2017 15:52:23 +0200 Subject: Emacs: Fix org-src keymap init --- emacs/.emacs.d/init.org | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 34f24c42..c6a59340 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1700,9 +1700,7 @@ Org is wünderbar. (use-package org :bind (("C-c C-a" . org-agenda-list) ("C-c a" . org-agenda) - ("C-c l" . org-store-link) - :map org-src-mode-map - ("C-x C-s" . org-edit-src-exit)) + ("C-c l" . org-store-link)) :defer 8 :init (setq org-replace-disputed-keys t org-ellipsis "…") @@ -1746,6 +1744,12 @@ Org is wünderbar. (set-register ?o `(file . ,(expand-file-name "organiser.org" org-directory))) (add-hook 'org-mode-hook #'turn-on-auto-fill) (org-load-modules-maybe t))) + +(use-package org-src + :ensure nil + :after org + :config (progn + (bind-key "C-x C-s" #'org-edit-src-exit org-src-mode-map))) #+END_SRC **** org-babel -- cgit 1.4.1