emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: follow-mode's use of hooks


From: Richard Stallman
Subject: Re: follow-mode's use of hooks
Date: Mon, 08 Oct 2007 21:14:59 -0400

    However, the docstrings for `follow-mode' and `follow-mode-hook' are
    still wrong, because they refer to `follow-mode-hook' as if only run
    when entering follow-mode

Indeed, that should be fixed.

     (defcustom follow-mode-hook nil
    -  "Hooks to run when Follow mode is turned on."
    +  "Normal hook run by Follow mode."

"Run by Follow mode" is not correct either, because that
implies that the _mode itself_ runs the hook.

In fact, it is the function to enable or disable the mode
that runs the hook.  That function is not Follow mode.
That function is `follow-mode'.

Do you see the right way to fix it, now?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]