From: Mattias EngdegÄrd Date: Tue, 30 Apr 2019 13:53:56 +0000 (+0200) Subject: * lisp/autorevert.el (auto-revert-avoid-polling): Fix :set form. X-Git-Tag: emacs-27.0.90~3036 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=826f1e260121edc5185e0ed3fa20a781fbddc9a2;p=emacs.git * lisp/autorevert.el (auto-revert-avoid-polling): Fix :set form. --- diff --git a/lisp/autorevert.el b/lisp/autorevert.el index 6f5ca75ddf8..cdd8223fffd 100644 --- a/lisp/autorevert.el +++ b/lisp/autorevert.el @@ -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: