all repos — nixfiles @ a6a79446121d2ac54d1ce462383998222e92e40d

System and user configuration, managed by nix and home-manager

Emacs: Fix byte-compiler warnings
Alan Pearce alan.pearce@spotcap.com
Wed, 11 May 2016 15:41:13 +0200
commit

a6a79446121d2ac54d1ce462383998222e92e40d

parent

edc8c93b6a569a39ed159117814e14c5da514ab3

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1500,6 +1500,8 @@ **** org-mobile
 
 #+BEGIN_SRC emacs-lisp
+  (defun ap/org-mobile-pull (descriptor action file)
+    (org-mobile-pull))
   (use-package org-mobile
     :defer 30
     :ensure nil
@@ -1533,8 +1535,6 @@ (let ((org-file (expand-file-name                                  (concat
                                   (file-name-as-directory org-mobile-directory)
                                   org-mobile-capture-file))))
-                  (defun ap/org-mobile-pull (descriptor action file)
-                    (org-mobile-pull))
                   (setq org-mobile-watcher
                         (file-notify-add-watch org-file '(change) #'ap/org-mobile-pull))))))))
 #+END_SRC
@@ -1749,6 +1749,7 @@ (add-hook 'clojure-mode-hook #'ap/lisp-setup))) 
   (use-package clj-refactor
     :defer t
+    :functions (clj-refactor-mode cljr-add-keybindings-with-prefix)
     :config (progn
               (cljr-add-keybindings-with-prefix "C-c C-m"))
     :init (progn