help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Change a symbol's plist member with (let ...)?


From: Thorsten Jolitz
Subject: Re: Change a symbol's plist member with (let ...)?
Date: Mon, 17 Mar 2014 01:49:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Stefan <address@hidden> writes:

>> For the sake of this example, say I want to "con" the function
>> `derived-mode-p' and make it believe outline-mode is actually derived
>> from lisp-mode (or so ...).
>
> In case this is not just a silly example, I'd have to ask why on earth
> would you do that?

Thats why I said "For the sake of this example...", its just a contrived
example used to abstract away the detailles of my real use case (that is
about functions in Org-mode that start with (when (derived-mode-p
'org-mode) ...) but otherwise do exactly what I want ...

-- 
cheers,
Thorsten




reply via email to

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