|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode |
Date: | Mon, 07 Jan 2019 12:40:54 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> If we implemented the `reactivate-mark-function` variable instead (and > the function `reactivate-mark`), would it be OK to have code like this? > > (pcase reactivate-mark-function > ('normal-reactivate-mark-function ...) > ('rectangle-reactivate-mark-function ...)) It would be evidence that the design isn't very good: a function should be treated as a black box with which the only thing you can do is to call it. You generally shouldn't look at it (e.g. with an equality test) or care about its name. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |