summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-05-11 15:41:13 +0200
committerAlan Pearce2016-05-11 15:42:22 +0200
commita6a79446121d2ac54d1ce462383998222e92e40d (patch)
treec490e16d8dec4ccc1dc20302d45c83e498a067a2
parentedc8c93b6a569a39ed159117814e14c5da514ab3 (diff)
downloadnixfiles-a6a79446121d2ac54d1ce462383998222e92e40d.tar.lz
nixfiles-a6a79446121d2ac54d1ce462383998222e92e40d.tar.zst
nixfiles-a6a79446121d2ac54d1ce462383998222e92e40d.zip
Emacs: Fix byte-compiler warnings
-rw-r--r--tag-emacs/emacs.d/init.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index dcb4f4e9..5426feb0 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1500,6 +1500,8 @@ I can use this to keep a journal.  I should use it.
 **** 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 @@ I can use this to keep a journal.  I should use it.
                                  (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 @@ A REPL thing (and more) for Lisp.
 
   (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