[Top][All Lists]

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

Re: Odd unused yank-handler arguments

From: Stefan Monnier
Subject: Re: Odd unused yank-handler arguments
Date: Sun, 02 May 2010 15:50:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> 2. However, why not give the reason for the change?

Reduce complexity.

> Perhaps the reason is that those functions should never have had such
> an arg.  Or perhaps it is that they no longer need it.  Or that no
> existing code using them uses the arg.  Or...

IIUC the yank-handler code evolved a bit before finding its meaning, and
those args are left overs from this process: they seemed like a good
idea at the time, but in the end all we really care about and need is
the `yank-handler' property.

> Removing an arg is like adding an arg. What's the reason?



reply via email to

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