]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/autorevert.el (auto-revert-avoid-polling): Fix :set form.
authorMattias Engdegård <mattiase@acm.org>
Tue, 30 Apr 2019 13:53:56 +0000 (15:53 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 30 Apr 2019 13:55:13 +0000 (15:55 +0200)
lisp/autorevert.el

index 6f5ca75ddf8a02699ac95cddebc89c145a9205e3..cdd8223fffddc601a3ce15ecf8b9bc954cfecc6f 100644 (file)
@@ -322,7 +322,8 @@ the value of this variable."
   :type 'boolean
   :set (lambda (variable value)
          (set-default variable value)
-         (auto-revert-set-timer))
+        (when (fboundp 'auto-revert-set-timer)
+           (auto-revert-set-timer)))
   :version "27.1")
 
 ;; Internal variables: