Emacs: Fix org-src keymap init
Alan Pearce alan@alanpearce.eu
Sun, 04 Jun 2017 15:52:23 +0200
1 files changed, 7 insertions(+), 3 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -1700,9 +1700,7 @@ #+BEGIN_SRC emacs-lisp (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-log-into-drawer "LOGBOOK") (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