emacs-devel
[Top][All Lists]
Advanced

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

Re: [patch] follow mode for occur, compilation and diff


From: Stefan
Subject: Re: [patch] follow mode for occur, compilation and diff
Date: 29 Aug 2004 12:29:07 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> + (define-minor-mode next-error-follow-minor-mode

I wouldn't bother with the "-minor".

> + (defun toggle-next-error-follow-mode ()
> +   "Toggles `next-error-follow-minor-mode'. "
> +   (interactive)
> +   (next-error-follow-minor-mode (not next-error-follow-minor-mode)))

What is this for?  Toggling is almost never ever used when called from
Lisp anyway.  And M-x next-error-follow-minor-mode RET will do the toggling
just fine, as happens for all minor modes.  I.e. just bind C-c C-f to
next-error-follow-minor-mode.


        Stefan




reply via email to

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