|
From: | Stefan Monnier |
Subject: | Re: Redundant (harmful) duplication of run-hooks in define-globalized-minor-mode [patch-2] |
Date: | Thu, 31 Jan 2013 09:38:31 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> + (MODE-cancel-disable > + (intern (concat global-mode-name "-cancel-disable"))) > + (MODE-disable-in-buffer > + (intern (concat global-mode-name "-disable-in-buffer"))) If you defvar-local the MODE-disable-in-buffer, then you shouldn't need MODE-cancel-disable since kill-all-local-variables will have reset MODE-disable-in-buffer to nil already. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |