|
From: | Stefan Monnier |
Subject: | Re: Generalizing find-definition |
Date: | Wed, 19 Nov 2014 23:18:12 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> This _should_ be caught by a byte-compiler warning > ("find-definition-function not known"). I wouldn't bet on it. > So I'm ok with requiring major modes to either have "(require > find-definition)" or use setq-local. The normal course of event for major mode is to set variables via `setq-local' (or its equivalent for use on older Emacsen). So there's no good reason to use make-variable-buffer-local for that; it'd just be asking for trouble. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |