Subject: bug#13583: 24.3.50; Error when activating auto-revert-mode

From: Eli Zaretskii <[email-masked]>
Date: Tue, 29 Jan 2013 13:10:47 +0200

> Date: Tue, 29 Jan 2013 11:59:43 +0100
> From: Dani Moncayo <[email-masked]>
> 
> Recipe from "emacs -Q":
> 1. Eval: (setq auto-revert-use-notify nil)
> 2. Visit some file.
> 3. M-x auto-revert-mode RET
> 
> When I do it, my Emacs fails with this message:
>    custom-initialize-reset: Symbol's value as variable is void:
> auto-revert-notify-watch-descriptor
> 
> and auto-revert-mode is not activated.

Cockipt error.  The doc string clearly says

    "If non-nil Auto Revert Mode uses file notification functions.
  This requires Emacs being compiled with file notification
  support (see `auto-revert-notify-enabled').  You should set this
  variable through Custom only."               ^^^^^^^^^^^^^^^^^^^
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That's because this defcustom has a :set function defined for it; if
that function isn't run, the results are unpredictable.

Any reason not to close this bug?