GNU bug report logs - #76535
Recommend against turn-on-<FOO>-mode functions

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Mon, 24 Feb 2025 22:35:02 UTC

Severity: wishlist

Full log


Message #26 received at 76535 <at> debbugs.gnu.org (full text, mbox):

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 76535 <at> debbugs.gnu.org
Subject: Re: bug#76535: Recommend against turn-on-<FOO>-mode functions
Date: Mon, 10 Mar 2025 14:02:06 +0800
Hello,

On Mon 10 Mar 2025 at 05:28am GMT, Stefan Kangas wrote:

> I think `define-minor-mode` is supposed to generate code that makes
>
>     (add-hook 'foo-mode 'bar-mode)
>
> always turn the minor mode on, without the wrapper.

Oh, thanks, I guess that's new since I last looked into this.

-- 
Sean Whitton




This bug report was last modified 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.