]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
fix org-mac-grab-link keybinding
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 15 Oct 2019 13:05:55 +0000 (15:05 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 15 Oct 2019 13:05:55 +0000 (15:05 +0200)
bba.org

diff --git a/bba.org b/bba.org
index 6c78d7db8ff753fa6e7f5049d21d33136e4aff9d..e230cb8fc1e72465b46a5bca4a124bcb3106045f 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -859,8 +859,8 @@ With [[https://github.com/fniessen/org-html-themes.git][org html themes]] it's e
 
 #+BEGIN_SRC emacs-lisp :tangle yes
   (if (string-equal system-type "darwin")
-      (require 'org-mac-link)
-    (define-key org-mode-map (kbd "C-c g") 'org-mac-grab-link))
+      (progn (require 'org-mac-link)
+             (define-key org-mode-map (kbd "C-c g") 'org-mac-grab-link)))
 #+END_SRC
 
 ** org-eldoc