summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
authorAlan Pearce2019-07-03 12:01:12 +0200
committerAlan Pearce2019-07-03 12:03:47 +0200
commit9d9573982dd2d3c0fd24d87465802045794546d1 (patch)
tree90331f91a36f39c1b1381b95cdb613202e5294cd /emacs/.emacs.d/main.el
parent70b94ce9a0d7bff99c2a865c0b94abbf3723ebd6 (diff)
downloaddotfiles-9d9573982dd2d3c0fd24d87465802045794546d1.tar.lz
dotfiles-9d9573982dd2d3c0fd24d87465802045794546d1.tar.zst
dotfiles-9d9573982dd2d3c0fd24d87465802045794546d1.zip
Emacs: appease byte-compiler
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 4ade9d2..dfcd634 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -10,6 +10,7 @@
 
 (use-package exec-path-from-shell
   :if (eq system-type 'darwin)
+  :functions (exec-path-from-shell-initialize)
   :config (progn
             (exec-path-from-shell-initialize)))
 
@@ -371,6 +372,7 @@ With two prefix arguments, write out the day and month name."
         backup-by-copying-when-linked t
         backup-by-copying-when-mismatch t))
 
+(declare-function system-move-file-to-trash "main" (file))
 (if (eq system-type 'darwin)
     (setq delete-by-moving-to-trash t)
   (if (and (executable-find "trash") (not (fboundp #'system-move-file-to-trash)))