summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-01-18 13:12:03 +0100
committerAlan Pearce2016-01-18 13:12:03 +0100
commit51437d154eba80d159cd8485c110f6c778fab75e (patch)
tree54c8ec1b39f2c7bbf6f909d44ac97a228e64c6a8 /tag-emacs
parent68b37c9d2090f0d21d90c92182e6797183150bd7 (diff)
downloadnixfiles-51437d154eba80d159cd8485c110f6c778fab75e.tar.lz
nixfiles-51437d154eba80d159cd8485c110f6c778fab75e.tar.zst
nixfiles-51437d154eba80d159cd8485c110f6c778fab75e.zip
Emacs: Disable notify-based file watching on Darwin
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org9
1 files changed, 5 insertions, 4 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index cc0ba799..dfbcd2ab 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -533,10 +533,11 @@ trash for deleting on OS X.
 ** autorevert
 
 #+BEGIN_SRC emacs-lisp
-(use-package autorevert
-  :init (progn
-          (global-auto-revert-mode 1)
-          (setq auto-revert-verbose nil)))
+  (use-package autorevert
+    :init (progn
+            (global-auto-revert-mode 1)
+            (setq auto-revert-verbose nil
+                  auto-revert-use-notify (not (eq system-type 'darwin)))))
 #+END_SRC
 
 ** Encoding