summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
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)))