all repos — nixfiles @ 9d9573982dd2d3c0fd24d87465802045794546d1

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

Emacs: appease byte-compiler

Alan Pearce
commit

9d9573982dd2d3c0fd24d87465802045794546d1

parent

70b94ce9a0d7bff99c2a865c0b94abbf3723ebd6

1 file changed, 2 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -10,6 +10,7 @@ (setq use-package-always-demand (daemonp))
(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 @@ (setq backup-directory-alist `((".*" . ,backup-dir))
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)))