On Apr 8, 2005 10:05 AM, Luc Teirlinck <[EMAIL PROTECTED]> wrote:
>    Maybe it should simply be a defvar instead of a defcustom.
> 
> It _is_ a defvar.  The doc string just says:
> 
> This is a good thing to set in mode hooks.

I see; my mistake.

If `foo-mode' is derived from comint, and sets the
comint-prompt-regexp to `foo-prompt-regexp' (defaulting to "foo>"),
and also uses `foo-prompt-regexp' to modify the paragraph regexp, then
presumably the real dependence is on `foo-prompt-regexp', right?

If so, any use of comint-prompt-regex in that process is a merely an
internal implementation detail of `foo-mode', not really something
that should be documented in comint (as doing so doesn't really help
anybody).

-Miles
-- 
Do not taunt Happy Fun Ball.


_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to