emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] desktop.el: do not save some minor modes


From: Michael Olson
Subject: Re: [PATCH] desktop.el: do not save some minor modes
Date: Mon, 29 Oct 2007 20:51:25 -0400
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

CHENG Gao <address@hidden> writes:

>>>        (add-to-list 'desktop-minor-mode-table '(erc-track-minor-mode
>>> nil))
>>> solves my problem, so this patch is not needed.
>>> Should we do that by default? Is it clear that users will prefer not
>>> to record that minor mode?
>>
>> I've now checked in a change to this effect.
>
> After this change this is one thing annoying - I have to (require
> 'desktop) to use erc even I dont use desktop.el otherwise an error is
> triggered telling desktop-minor-mode-table not existed or something. I
> think it's a bug.

OK, I've now moved the line into the definition of
desktop-minor-mode-table itself, which seems to be what other modes do.
This should fix the annoyance.

-- 
       Michael Olson -- FSF Associate Member #652     |
 http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net  |  /` |\ | | |
            Sysadmin -- Hobbies: Lisp, GP2X, HCoop    | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |

Attachment: pgpa4lvyeUBvF.pgp
Description: PGP signature


reply via email to

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